8 #ifndef OPENFPM_DATA_SRC_UTIL_COMPARE_FUSION_VECTOR_HPP_
9 #define OPENFPM_DATA_SRC_UTIL_COMPARE_FUSION_VECTOR_HPP_
16 template<
typename bfv>
32 :eq(true),src(src),dst(dst){};
42 :eq(true),src(src),dst(dst)
43 {std::cerr <<
"Error: " <<__FILE__ <<
":" << __LINE__ <<
" Passing a temporal object\n";};
51 typedef typename boost::fusion::result_of::at_c<bfv,T::value>::type copy_type;
54 typedef typename boost::remove_reference<copy_type>::type copy_rtype;
this class is a functor for "for_each" algorithm
bool result()
Returh the result of the comparison.
compare_fusion_vector(const bfv &src, const bfv &dst)
constructor
void operator()(T &t)
It call the copy function for each property.