From 1d1fadeb5a5a3370c23b9a293bef355637765a05 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sun, 17 Apr 2005 14:43:28 +0000 Subject: [PATCH] Disabled reverse_iterator tests for broken Rogue Wave library versions (workaround for old sunpro compilers). [SVN r28294] --- test/unicode/unicode_iterator_test.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/unicode/unicode_iterator_test.cpp b/test/unicode/unicode_iterator_test.cpp index 4ce6ec0c..fd5ca3f8 100644 --- a/test/unicode/unicode_iterator_test.cpp +++ b/test/unicode/unicode_iterator_test.cpp @@ -70,13 +70,13 @@ void test(const std::vector< ::boost::uint32_t>& v) typedef std::vector< ::boost::uint8_t> vector8_type; typedef boost::u32_to_u16_iterator u32to16type; typedef boost::u16_to_u32_iterator u16to32type; -#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(BOOST_NO_STD_ITERATOR) +#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(BOOST_NO_STD_ITERATOR) && !defined(_RWSTD_NO_CLASS_PARTIAL_SPEC) typedef std::reverse_iterator ru32to16type; typedef std::reverse_iterator ru16to32type; #endif typedef boost::u32_to_u8_iterator u32to8type; typedef boost::u8_to_u32_iterator u8to32type; -#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(BOOST_NO_STD_ITERATOR) +#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(BOOST_NO_STD_ITERATOR) && !defined(_RWSTD_NO_CLASS_PARTIAL_SPEC) typedef std::reverse_iterator ru32to8type; typedef std::reverse_iterator ru8to32type; #endif @@ -114,7 +114,7 @@ void test(const std::vector< ::boost::uint32_t>& v) // // test backward iteration, of 32-16 bit interconversions: // -#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(BOOST_NO_STD_ITERATOR) +#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(BOOST_NO_STD_ITERATOR) && !defined(_RWSTD_NO_CLASS_PARTIAL_SPEC) v16.assign(ru32to16type(u32to16type(v.end())), ru32to16type(u32to16type(v.begin()))); #ifndef BOOST_NO_STD_DISTANCE BOOST_CHECK_EQUAL(std::distance(ru32to16type(u32to16type(v.end())), ru32to16type(u32to16type(v.begin()))), v16.size()); @@ -162,7 +162,7 @@ void test(const std::vector< ::boost::uint32_t>& v) // // test backward iteration, of 32-8 bit interconversions: // -#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(BOOST_NO_STD_ITERATOR) +#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(BOOST_NO_STD_ITERATOR) && !defined(_RWSTD_NO_CLASS_PARTIAL_SPEC) v8.assign(ru32to8type(u32to8type(v.end())), ru32to8type(u32to8type(v.begin()))); #ifndef BOOST_NO_STD_DISTANCE BOOST_CHECK_EQUAL(std::distance(ru32to8type(u32to8type(v.end())), ru32to8type(u32to8type(v.begin()))), v8.size());