8 #ifndef OPENFPM_DATA_SRC_UTIL_COMPARE_FUSION_VECTOR_HPP_ 9 #define OPENFPM_DATA_SRC_UTIL_COMPARE_FUSION_VECTOR_HPP_ 11 #include "meta_compare.hpp" 18 template<
typename bfv>
50 {std::cerr <<
"Error: " <<__FILE__ <<
":" << __LINE__ <<
" Passing a temporal object\n";};
64 typedef typename boost::fusion::result_of::at_c<bfv,T::value>::type copy_type;
67 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
bool eq
Result of the comparation.
void operator()(T &t)
It call the copy function for each property.