GLAMERDOC++
Gravitational Lensing Code Library
Loading...
Searching...
No Matches
MemmoryBank< T > Struct Template Reference

#include <point.h>

Public Member Functions

 MemmoryBank (MemmoryBank &&membank)
 
void operator= (MemmoryBank &&membank)
 
T * operator() (size_t N)
 
void clear ()
 
bool clear (T *ptr)
 
size_t number_of_blocks ()
 

Detailed Description

template<typename T>
struct MemmoryBank< T >

This is for memory management. It will create pointers to allicated arrays of Ts that will be deleted when the MemmorytBank goes out of scope.


The documentation for this struct was generated from the following file: