diff --git a/include/boost/test/tools/collection_comparison_op.hpp b/include/boost/test/tools/collection_comparison_op.hpp index 81a7046..9a5d9f5 100644 --- a/include/boost/test/tools/collection_comparison_op.hpp +++ b/include/boost/test/tools/collection_comparison_op.hpp @@ -325,7 +325,7 @@ compare_collections( Lhs const& lhs, Rhs const& rhs, boost::type >* // ********* specialization of comparison operators for collections ********* // // ************************************************************************** // -#define DEFINE_COLLECTION_COMPARISON( oper, name, _ ) \ +#define DEFINE_COLLECTION_COMPARISON( oper, name, rev ) \ template \ struct name::value && \ @@ -356,6 +356,10 @@ public: \ report( std::ostream&, \ PrevExprType const&, \ Rhs const& ) {} \ + \ + static char const* revert() \ + { return " " #rev " "; } \ + \ }; \ /**/