8 #ifndef OPENFPM_DATA_SRC_GRID_COPY_FUSION_VECTOR_HPP_
9 #define OPENFPM_DATA_SRC_GRID_COPY_FUSION_VECTOR_HPP_
16 template<
typename bfv>
41 {std::cerr <<
"Error: " <<__FILE__ <<
":" << __LINE__ <<
" Passing a temporal object\n";};
49 typedef typename boost::fusion::result_of::at_c<bfv,T::value>::type copy_type;
52 typedef typename boost::remove_reference<copy_type>::type copy_rtype;
void operator()(T &t)
It call the copy function for each property.
copy_fusion_vector(const bfv &src, bfv &dst)
constructor
this class is a functor for "for_each" algorithm