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

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

Detailed Description

template<typename s_m, typename Mem_type>
struct frswap_nomode< s_m, Mem_type >

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
Mem_typeMemory type

Definition at line 89 of file grid_base_impl_layout.hpp.

#include <grid_base_impl_layout.hpp>

Public Member Functions

 frswap_nomode (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: