id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 11571,"Can't compile BOOST_TEST( ..., per_element() ) comparison of vector",Tony Lewis ,Raffi Enficiaud,"Thanks for the new BOOST_TEST() and per_element() tools, which look very useful. Unfortunately, the following simple vector example fails to compile under both `g++ -std=c++11` and `clang++ -std=c++11 -stdlib=libc++`. {{{ #!cpp #define BOOST_TEST_MODULE comp_str_mod #include #include #include BOOST_AUTO_TEST_CASE( comp_strs ) { std::vector a{ ""ann"" }; std::vector b{ ""bry"" }; BOOST_TEST( a == b, boost::test_tools::per_element() ); } }}} The core part of GCC's error message is: {{{ error: ‘revert’ is not a member of ‘boost::test_tools::assertion::op::EQ, std::basic_string, void>’ }}} If I'm doing it wrong, is there any way we can make the compile errors and/or documentation clearer about avoiding this? Thanks.",Bugs,closed,Boost 1.60.0,test,Boost 1.59.0,Problem,fixed,"test,BOOST_TEST,per_element,collections,string,vector",