OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
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

Parameters
TType of memory allocator

Definition at line 53 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
 

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