OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
frswap< s_m > Struct Template Reference

this class is a functor for "for_each" algorithm More...

Detailed Description

template<typename s_m>
struct frswap< s_m >

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

TType 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)
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

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