id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 13181,Boost test can't compare classes which have begin and end but not const_iterator,marc@…,Raffi Enficiaud,"The following code: {{{ struct s { const int *begin() const; const int *end() const; }; bool operator==(s,s); std::ostream &operator<<(std::ostream &out, s); BOOST_AUTO_TEST_CASE(foo) { s s1; s s2; BOOST_TEST(s1==s2); } }}} When compiled in C++14 mode by gcc or clang, fails because `s` does not contain member types `const_iterator` and `value_type`. This works in C++03 mode, and it worked with boost 1.64. The attached patch fixes the issue.",Feature Requests,closed,Boost 1.67.0,test,Boost 1.65.0,Regression,fixed,,