/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_function.h:199: error: ‘template<class _Tp> struct std::equal_to’ is not a function,common/testhelper.hpp:126: error: conflict with ‘template<class M1, class M2> bool equal_to(const boost::numeric::ublas::vector_expression<E>&, const boost::numeric::ublas::vector_expression<E2>&, double)’test_assignment.cpp:30: error: in call to ‘equal_to’test_assignment.cpp:601: instantiated from here
template < class M1, class M2 >bool equal_to( const boost::numeric::ublas::vector_expression<M1> & m1,const boost::numeric::ublas::vector_expression<M2> & m2,double tolerance = 0.0 ) {if (m1().size() != m2().size()) {return false;}return mean_square(m2() - m1()) <= tolerance;}
template<typename _Tp>struct equal_to : public binary_function<_Tp, _Tp, bool>{booloperator()(const _Tp& __x, const _Tp& __y) const{ return __x == __y; }};