OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
deconstruct_impl< T_type, layout_base, Memory > Struct Template Reference

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

Detailed Description

template<typename T_type, template< typename > class layout_base, typename Memory>
struct deconstruct_impl< T_type, layout_base, Memory >

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. Is mainly used to copy one encap into another encap object

Template Parameters
encapsource
encapdst

Definition at line 420 of file map_grid.hpp.

#include <map_grid.hpp>

Public Member Functions

 deconstruct_impl (typename memory_traits_inte< T_type >::type &dst)
 constructor More...
 
template<typename T >
void operator() (T &t) const
 It call the copy function for each property.
 

Data Fields

memory_traits_inte< T_type >::type & dst
 object to destruct
 

Constructor & Destructor Documentation

◆ deconstruct_impl()

template<typename T_type, template< typename > class layout_base, typename Memory>
deconstruct_impl< T_type, layout_base, Memory >::deconstruct_impl ( typename memory_traits_inte< T_type >::type &  dst)
inline

constructor

Parameters
srcsource encapsulated object
dstsource encapsulated object

Definition at line 431 of file map_grid.hpp.


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