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 1264 of file map_grid.hpp.
#include <map_grid.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 1275 of file map_grid.hpp.