this class is a functor for "for_each" algorithm More...
this class is a functor for "for_each" algorithm
This class is a functor for "for_each" algorithm. For each element of the boost::vector the operator() is called
| T | Type of memory allocator | 
Definition at line 21 of file grid_base_impl_layout.hpp.
#include <grid_base_impl_layout.hpp>
Public Member Functions | |
| allocate (size_t sz) | |
| constructor it fix the size  | |
| template<typename T > | |
| void | operator() (T &t) const | 
| It call the allocate function for each member.  More... | |
Data Fields | |
| size_t | sz | 
| size to allocate  | |
It call the allocate function for each member.
Create and set the memory allocator
Allocate the memory and create the reppresentation
Definition at line 32 of file grid_base_impl_layout.hpp.