Re: [Boost-bugs] [Boost C++ Libraries] #11625: BOOST_TEST( ..., per_element() ) erroneously requires collections are comparable

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11625: BOOST_TEST( ..., per_element() ) erroneously requires collections are comparable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-01-09 18:35:16


#11625: BOOST_TEST( ..., per_element() ) erroneously requires collections are
comparable
-------------------------------------+-------------------------------------
  Reporter: Tony Lewis | Owner: renficiaud
  <tonyelewis@…> | Status: reopened
      Type: Bugs | Component: test
 Milestone: Boost 1.60.0 | Severity: Problem
   Version: Boost 1.60.0 | Keywords:
Resolution: | BOOST_TEST,per_element,collections,comparable,element,range,equality
-------------------------------------+-------------------------------------

Comment (by renficiaud):

 Hi,

 I just tried your example, and I can reproduce the problem. This is
 because your class `my_class_final` does not follow the requirements for
 the sequence as defined
 [http://www.boost.org/doc/libs/1_60_0/libs/test/doc/html/boost_test/testing_tools/extended_comparison/collections.html#boost_test.testing_tools.extended_comparison.collections.what_is_a_sequence
 here].

 After adding members `size` and `value_type` it works as expected. Would
 you please confirm?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11625#comment:7>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC