[ptr_container] Patch for iterator_test

Attached is a patch which skips some tests for Tru64/CXX which does not yet conform to the resolution for DR#179. (See http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#179 for details.) Ok to commit? Markus Index: iterator_test.cpp =================================================================== RCS file: /cvsroot/boost/boost/libs/ptr_container/test/iterator_test.cpp,v retrieving revision 1.8 diff -u -w -r1.8 iterator_test.cpp --- iterator_test.cpp 15 Jun 2005 19:32:58 -0000 1.8 +++ iterator_test.cpp 8 Sep 2005 08:41:56 -0000 @@ -47,10 +47,15 @@ ptr_map<int,int>::iterator map_mutable_i = map.begin(); ptr_map<int,int>::const_iterator map_const_i = map.begin(); +#if !BOOST_WORKAROUND(__DECCXX_VER, BOOST_TESTED_AT(70190006)) + // This only works for library implementations which conform to the + // proposed resolution of the C++ Standard Library DR#179. See + // http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#179. BOOST_CHECK( map_mutable_i == map_const_i ); BOOST_CHECK( ! ( map_mutable_i != map_const_i ) ); BOOST_CHECK( map_const_i == map_mutable_i ); BOOST_CHECK( ! ( map_const_i != map_mutable_i ) ); +#endif const ptr_map<int,int>& rmap = map; map_const_i = rmap.begin();

On Sep 8, 2005, at 3:47 AM, Markus Schöpflin wrote:
Attached is a patch which skips some tests for Tru64/CXX which does not yet conform to the resolution for DR#179. (See http://www.open- std.org/jtc1/sc22/wg21/docs/lwg-defects.html#179 for details.) Ok to commit?
Yes, please go ahead and commit on the RC_1_33_0 branch. Doug

Douglas Gregor wrote:
On Sep 8, 2005, at 3:47 AM, Markus Schöpflin wrote:
Attached is a patch which skips some tests for Tru64/CXX which does not yet conform to the resolution for DR#179. (See http://www.open- std.org/jtc1/sc22/wg21/docs/lwg-defects.html#179 for details.) Ok to commit?
Yes, please go ahead and commit on the RC_1_33_0 branch.
Done.
participants (2)
-
Douglas Gregor
-
Markus Schöpflin