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 59 of file grid_base_impl_layout.hpp.
#include <grid_base_impl_layout.hpp>
Public Member Functions | |
| frswap (s_m &swap_dst, s_m &swap_src) | |
| constructor | |
| template<typename T > | |
| void | operator() (T &t) const |
| It call the allocate function for each member. | |
Data Fields | |
| s_m & | swap_src |
| s_m & | swap_dst |
constructor
Definition at line 65 of file grid_base_impl_layout.hpp.
It call the allocate function for each member.
Definition at line 71 of file grid_base_impl_layout.hpp.
| s_m& frswap< s_m >::swap_dst |
Definition at line 62 of file grid_base_impl_layout.hpp.
| s_m& frswap< s_m >::swap_src |
Definition at line 61 of file grid_base_impl_layout.hpp.