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 27 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. | |
Data Fields | |
| size_t | sz |
| size to allocate | |
|
inline |
constructor it fix the size
Definition at line 33 of file grid_base_impl_layout.hpp.
It call the allocate function for each member.
Create and set the memory allocator
Allocate the memory and create the reppresentation
Definition at line 38 of file grid_base_impl_layout.hpp.
| size_t allocate< S >::sz |
size to allocate
Definition at line 30 of file grid_base_impl_layout.hpp.