From a803b5b42db78e85fb464e0b6c2b27ec63a4e226 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Fri, 11 Oct 2013 23:23:26 +0000 Subject: [PATCH 1/2] Remove use of obsolete BOOST_TT_BROKEN_COMPILER_SPEC [SVN r86250] --- include/boost/pending/iterator_tests.hpp | 3 --- test/indirect_iter_member_types.cpp | 2 -- test/indirect_iterator_test.cpp | 1 - test/is_lvalue_iterator.cpp | 3 --- test/is_readable_iterator.cpp | 2 -- test/pointee.cpp | 1 - test/unit_tests.cpp | 1 - 7 files changed, 13 deletions(-) mode change 100755 => 100644 test/is_lvalue_iterator.cpp mode change 100755 => 100644 test/is_readable_iterator.cpp mode change 100755 => 100644 test/pointee.cpp diff --git a/include/boost/pending/iterator_tests.hpp b/include/boost/pending/iterator_tests.hpp index dd5fe2d..f9d6e9c 100644 --- a/include/boost/pending/iterator_tests.hpp +++ b/include/boost/pending/iterator_tests.hpp @@ -25,7 +25,6 @@ # include # include // for detail::dummy_constructor # include -# include namespace boost { @@ -41,8 +40,6 @@ struct dummyT { } -BOOST_TT_BROKEN_COMPILER_SPEC(boost::dummyT) - namespace boost { // Tests whether type Iterator satisfies the requirements for a diff --git a/test/indirect_iter_member_types.cpp b/test/indirect_iter_member_types.cpp index 84dcaeb..da09ac8 100644 --- a/test/indirect_iter_member_types.cpp +++ b/test/indirect_iter_member_types.cpp @@ -27,8 +27,6 @@ struct my_ptr { // typedef boost::no_traversal_tag iterator_category; }; -BOOST_TT_BROKEN_COMPILER_SPEC(my_ptr) -BOOST_TT_BROKEN_COMPILER_SPEC(zow) // Borland 5.6.4 and earlier drop const all over the place, so this // test will fail in the lines marked with (**) diff --git a/test/indirect_iterator_test.cpp b/test/indirect_iterator_test.cpp index 8cea482..22e710c 100644 --- a/test/indirect_iterator_test.cpp +++ b/test/indirect_iterator_test.cpp @@ -53,7 +53,6 @@ template struct see_val; struct my_iterator_tag : public std::random_access_iterator_tag { }; using boost::dummyT; -BOOST_TT_BROKEN_COMPILER_SPEC(boost::shared_ptr) typedef std::vector storage; typedef std::vector pointer_ra_container; diff --git a/test/is_lvalue_iterator.cpp b/test/is_lvalue_iterator.cpp old mode 100755 new mode 100644 index fdace52..ee57ab2 --- a/test/is_lvalue_iterator.cpp +++ b/test/is_lvalue_iterator.cpp @@ -20,7 +20,6 @@ struct v ~v(); }; -BOOST_TT_BROKEN_COMPILER_SPEC(v) struct value_iterator : boost::iterator { @@ -83,8 +82,6 @@ struct constant_lvalue_iterator constant_lvalue_iterator operator++(int); }; -BOOST_TT_BROKEN_COMPILER_SPEC(proxy_iterator::proxy) -BOOST_TT_BROKEN_COMPILER_SPEC(proxy_iterator::proxy) int main() { diff --git a/test/is_readable_iterator.cpp b/test/is_readable_iterator.cpp old mode 100755 new mode 100644 index 15ed099..c0c4b0a --- a/test/is_readable_iterator.cpp +++ b/test/is_readable_iterator.cpp @@ -20,7 +20,6 @@ struct v ~v(); }; -BOOST_TT_BROKEN_COMPILER_SPEC(v) struct value_iterator : boost::iterator { @@ -71,7 +70,6 @@ struct proxy_iterator2 : boost::iterator proxy operator*() const; }; -BOOST_TT_BROKEN_COMPILER_SPEC(proxy_iterator::proxy) int main() { diff --git a/test/pointee.cpp b/test/pointee.cpp old mode 100755 new mode 100644 index b39fce1..71d1d04 --- a/test/pointee.cpp +++ b/test/pointee.cpp @@ -35,7 +35,6 @@ struct X { template operator T&() const; }; -BOOST_TT_BROKEN_COMPILER_SPEC(X) int main() { diff --git a/test/unit_tests.cpp b/test/unit_tests.cpp index 2434310..15767c1 100644 --- a/test/unit_tests.cpp +++ b/test/unit_tests.cpp @@ -13,7 +13,6 @@ struct X { int a; }; -BOOST_TT_BROKEN_COMPILER_SPEC(X) struct Xiter : boost::iterator_adaptor { From 6b2a5cccc4eabdfd58a203af86b679c93ab91bf3 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sat, 26 Oct 2013 10:13:38 +0000 Subject: [PATCH 2/2] Remove all references to now defunct (and removed) header. [SVN r86438] --- test/indirect_iterator_test.cpp | 2 -- test/is_lvalue_iterator.cpp | 1 - test/is_readable_iterator.cpp | 1 - test/iterator_adaptor_test.cpp | 2 -- test/unit_tests.cpp | 2 -- 5 files changed, 8 deletions(-) diff --git a/test/indirect_iterator_test.cpp b/test/indirect_iterator_test.cpp index 22e710c..c689673 100644 --- a/test/indirect_iterator_test.cpp +++ b/test/indirect_iterator_test.cpp @@ -27,8 +27,6 @@ #include -#include - #include #include diff --git a/test/is_lvalue_iterator.cpp b/test/is_lvalue_iterator.cpp index ee57ab2..a3f7b6f 100644 --- a/test/is_lvalue_iterator.cpp +++ b/test/is_lvalue_iterator.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include diff --git a/test/is_readable_iterator.cpp b/test/is_readable_iterator.cpp index c0c4b0a..ee58089 100644 --- a/test/is_readable_iterator.cpp +++ b/test/is_readable_iterator.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include diff --git a/test/iterator_adaptor_test.cpp b/test/iterator_adaptor_test.cpp index e339fe1..5b5e0c3 100644 --- a/test/iterator_adaptor_test.cpp +++ b/test/iterator_adaptor_test.cpp @@ -19,8 +19,6 @@ #endif #include -# include - # include #include diff --git a/test/unit_tests.cpp b/test/unit_tests.cpp index 15767c1..c53627d 100644 --- a/test/unit_tests.cpp +++ b/test/unit_tests.cpp @@ -7,8 +7,6 @@ #include "static_assert_same.hpp" -#include - #include struct X { int a; };