|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86250 - in trunk: boost/archive/detail boost/pending boost/python boost/type_traits libs/iterator/test libs/python/test
From: steveire_at_[hidden]
Date: 2013-10-11 19:23:26
Author: skelly
Date: 2013-10-11 19:23:26 EDT (Fri, 11 Oct 2013)
New Revision: 86250
URL: http://svn.boost.org/trac/boost/changeset/86250
Log:
Remove use of obsolete BOOST_TT_BROKEN_COMPILER_SPEC
Text files modified:
trunk/boost/archive/detail/basic_iarchive.hpp | 7 -------
trunk/boost/archive/detail/basic_oarchive.hpp | 8 --------
trunk/boost/pending/iterator_tests.hpp | 3 ---
trunk/boost/python/type_id.hpp | 1 -
trunk/boost/type_traits/broken_compiler_spec.hpp | 29 +++--------------------------
trunk/boost/type_traits/remove_const.hpp | 1 -
trunk/boost/type_traits/remove_cv.hpp | 1 -
trunk/boost/type_traits/remove_reference.hpp | 1 -
trunk/boost/type_traits/remove_volatile.hpp | 1 -
trunk/boost/type_traits/transform_traits_spec.hpp | 1 -
trunk/libs/iterator/test/indirect_iter_member_types.cpp | 2 --
trunk/libs/iterator/test/indirect_iterator_test.cpp | 1 -
trunk/libs/iterator/test/is_lvalue_iterator.cpp | 3 ---
trunk/libs/iterator/test/is_readable_iterator.cpp | 2 --
trunk/libs/iterator/test/pointee.cpp | 1 -
trunk/libs/iterator/test/unit_tests.cpp | 1 -
trunk/libs/python/test/const_argument.cpp | 1 -
17 files changed, 3 insertions(+), 61 deletions(-)
Modified: trunk/boost/archive/detail/basic_iarchive.hpp
==============================================================================
--- trunk/boost/archive/detail/basic_iarchive.hpp Fri Oct 11 19:22:36 2013 (r86249)
+++ trunk/boost/archive/detail/basic_iarchive.hpp 2013-10-11 19:23:26 EDT (Fri, 11 Oct 2013) (r86250)
@@ -22,7 +22,6 @@
#include <boost/config.hpp>
#include <boost/noncopyable.hpp>
-#include <boost/type_traits/broken_compiler_spec.hpp>
#include <boost/serialization/tracking_enum.hpp>
#include <boost/archive/basic_archive.hpp>
#include <boost/archive/detail/decl.hpp>
@@ -99,12 +98,6 @@
} // namespace archive
} // namespace boost
-// required by smart_cast for compilers not implementing
-// partial template specialization
-BOOST_TT_BROKEN_COMPILER_SPEC(
- boost::archive::detail::basic_iarchive
-)
-
#include <boost/archive/detail/abi_suffix.hpp> // pops abi_suffix.hpp pragmas
#endif //BOOST_ARCHIVE_DETAIL_BASIC_IARCHIVE_HPP
Modified: trunk/boost/archive/detail/basic_oarchive.hpp
==============================================================================
--- trunk/boost/archive/detail/basic_oarchive.hpp Fri Oct 11 19:22:36 2013 (r86249)
+++ trunk/boost/archive/detail/basic_oarchive.hpp 2013-10-11 19:23:26 EDT (Fri, 11 Oct 2013) (r86250)
@@ -20,8 +20,6 @@
#include <boost/config.hpp>
#include <boost/noncopyable.hpp>
-#include <boost/type_traits/broken_compiler_spec.hpp>
-
// can't use this - much as I'd like to as borland doesn't support it
// #include <boost/scoped_ptr.hpp>
@@ -95,12 +93,6 @@
} // namespace archive
} // namespace boost
-// required by smart_cast for compilers not implementing
-// partial template specialization
-BOOST_TT_BROKEN_COMPILER_SPEC(
- boost::archive::detail::basic_oarchive
-)
-
#include <boost/archive/detail/abi_suffix.hpp> // pops abi_suffix.hpp pragmas
#endif //BOOST_ARCHIVE_BASIC_OARCHIVE_HPP
Modified: trunk/boost/pending/iterator_tests.hpp
==============================================================================
--- trunk/boost/pending/iterator_tests.hpp Fri Oct 11 19:22:36 2013 (r86249)
+++ trunk/boost/pending/iterator_tests.hpp 2013-10-11 19:23:26 EDT (Fri, 11 Oct 2013) (r86250)
@@ -25,7 +25,6 @@
# include <boost/static_assert.hpp>
# include <boost/concept_archetype.hpp> // for detail::dummy_constructor
# include <boost/implicit_cast.hpp>
-# include <boost/type_traits/broken_compiler_spec.hpp>
namespace boost {
@@ -41,8 +40,6 @@
}
-BOOST_TT_BROKEN_COMPILER_SPEC(boost::dummyT)
-
namespace boost {
// Tests whether type Iterator satisfies the requirements for a
Modified: trunk/boost/python/type_id.hpp
==============================================================================
--- trunk/boost/python/type_id.hpp Fri Oct 11 19:22:36 2013 (r86249)
+++ trunk/boost/python/type_id.hpp 2013-10-11 19:23:26 EDT (Fri, 11 Oct 2013) (r86250)
@@ -15,7 +15,6 @@
# include <boost/static_assert.hpp>
# include <boost/detail/workaround.hpp>
# include <boost/type_traits/same_traits.hpp>
-# include <boost/type_traits/broken_compiler_spec.hpp>
# ifndef BOOST_PYTHON_HAVE_GCC_CP_DEMANGLE
# if defined(__GNUC__) \
Modified: trunk/boost/type_traits/broken_compiler_spec.hpp
==============================================================================
--- trunk/boost/type_traits/broken_compiler_spec.hpp Fri Oct 11 19:22:36 2013 (r86249)
+++ trunk/boost/type_traits/broken_compiler_spec.hpp 2013-10-11 19:23:26 EDT (Fri, 11 Oct 2013) (r86250)
@@ -9,31 +9,8 @@
#ifndef BOOST_TT_BROKEN_COMPILER_SPEC_HPP_INCLUDED
#define BOOST_TT_BROKEN_COMPILER_SPEC_HPP_INCLUDED
-#include <boost/mpl/aux_/lambda_support.hpp>
-#include <boost/config.hpp>
-
-# define BOOST_TT_BROKEN_COMPILER_SPEC(T) /**/
-
-BOOST_TT_BROKEN_COMPILER_SPEC(bool)
-BOOST_TT_BROKEN_COMPILER_SPEC(char)
-#ifndef BOOST_NO_INTRINSIC_WCHAR_T
-BOOST_TT_BROKEN_COMPILER_SPEC(wchar_t)
-#endif
-BOOST_TT_BROKEN_COMPILER_SPEC(signed char)
-BOOST_TT_BROKEN_COMPILER_SPEC(unsigned char)
-BOOST_TT_BROKEN_COMPILER_SPEC(signed short)
-BOOST_TT_BROKEN_COMPILER_SPEC(unsigned short)
-BOOST_TT_BROKEN_COMPILER_SPEC(signed int)
-BOOST_TT_BROKEN_COMPILER_SPEC(unsigned int)
-BOOST_TT_BROKEN_COMPILER_SPEC(signed long)
-BOOST_TT_BROKEN_COMPILER_SPEC(unsigned long)
-BOOST_TT_BROKEN_COMPILER_SPEC(float)
-BOOST_TT_BROKEN_COMPILER_SPEC(double)
-//BOOST_TT_BROKEN_COMPILER_SPEC(long double)
-
-// for backward compatibility
-#define BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(T) \
- BOOST_TT_BROKEN_COMPILER_SPEC(T) \
-/**/
+// Obsolete. Remove.
+#define BOOST_TT_BROKEN_COMPILER_SPEC(T)
+#define BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(T)
#endif // BOOST_TT_BROKEN_COMPILER_SPEC_HPP_INCLUDED
Modified: trunk/boost/type_traits/remove_const.hpp
==============================================================================
--- trunk/boost/type_traits/remove_const.hpp Fri Oct 11 19:22:36 2013 (r86249)
+++ trunk/boost/type_traits/remove_const.hpp 2013-10-11 19:23:26 EDT (Fri, 11 Oct 2013) (r86250)
@@ -12,7 +12,6 @@
#define BOOST_TT_REMOVE_CONST_HPP_INCLUDED
#include <boost/type_traits/is_volatile.hpp>
-#include <boost/type_traits/broken_compiler_spec.hpp>
#include <boost/type_traits/detail/cv_traits_impl.hpp>
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
Modified: trunk/boost/type_traits/remove_cv.hpp
==============================================================================
--- trunk/boost/type_traits/remove_cv.hpp Fri Oct 11 19:22:36 2013 (r86249)
+++ trunk/boost/type_traits/remove_cv.hpp 2013-10-11 19:23:26 EDT (Fri, 11 Oct 2013) (r86250)
@@ -11,7 +11,6 @@
#ifndef BOOST_TT_REMOVE_CV_HPP_INCLUDED
#define BOOST_TT_REMOVE_CV_HPP_INCLUDED
-#include <boost/type_traits/broken_compiler_spec.hpp>
#include <boost/type_traits/detail/cv_traits_impl.hpp>
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
Modified: trunk/boost/type_traits/remove_reference.hpp
==============================================================================
--- trunk/boost/type_traits/remove_reference.hpp Fri Oct 11 19:22:36 2013 (r86249)
+++ trunk/boost/type_traits/remove_reference.hpp 2013-10-11 19:23:26 EDT (Fri, 11 Oct 2013) (r86250)
@@ -9,7 +9,6 @@
#ifndef BOOST_TT_REMOVE_REFERENCE_HPP_INCLUDED
#define BOOST_TT_REMOVE_REFERENCE_HPP_INCLUDED
-#include <boost/type_traits/broken_compiler_spec.hpp>
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
Modified: trunk/boost/type_traits/remove_volatile.hpp
==============================================================================
--- trunk/boost/type_traits/remove_volatile.hpp Fri Oct 11 19:22:36 2013 (r86249)
+++ trunk/boost/type_traits/remove_volatile.hpp 2013-10-11 19:23:26 EDT (Fri, 11 Oct 2013) (r86250)
@@ -12,7 +12,6 @@
#define BOOST_TT_REMOVE_VOLATILE_HPP_INCLUDED
#include <boost/type_traits/is_const.hpp>
-#include <boost/type_traits/broken_compiler_spec.hpp>
#include <boost/type_traits/detail/cv_traits_impl.hpp>
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
Modified: trunk/boost/type_traits/transform_traits_spec.hpp
==============================================================================
--- trunk/boost/type_traits/transform_traits_spec.hpp Fri Oct 11 19:22:36 2013 (r86249)
+++ trunk/boost/type_traits/transform_traits_spec.hpp 2013-10-11 19:23:26 EDT (Fri, 11 Oct 2013) (r86250)
@@ -9,6 +9,5 @@
#ifndef BOOST_TT_TRANSFORM_TRAITS_SPEC_HPP_INCLUDED
#define BOOST_TT_TRANSFORM_TRAITS_SPEC_HPP_INCLUDED
-#include <boost/type_traits/broken_compiler_spec.hpp>
#endif // BOOST_TT_TRANSFORM_TRAITS_SPEC_HPP_INCLUDED
Modified: trunk/libs/iterator/test/indirect_iter_member_types.cpp
==============================================================================
--- trunk/libs/iterator/test/indirect_iter_member_types.cpp Fri Oct 11 19:22:36 2013 (r86249)
+++ trunk/libs/iterator/test/indirect_iter_member_types.cpp 2013-10-11 19:23:26 EDT (Fri, 11 Oct 2013) (r86250)
@@ -27,8 +27,6 @@
// 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 (**)
Modified: trunk/libs/iterator/test/indirect_iterator_test.cpp
==============================================================================
--- trunk/libs/iterator/test/indirect_iterator_test.cpp Fri Oct 11 19:22:36 2013 (r86249)
+++ trunk/libs/iterator/test/indirect_iterator_test.cpp 2013-10-11 19:23:26 EDT (Fri, 11 Oct 2013) (r86250)
@@ -53,7 +53,6 @@
struct my_iterator_tag : public std::random_access_iterator_tag { };
using boost::dummyT;
-BOOST_TT_BROKEN_COMPILER_SPEC(boost::shared_ptr<dummyT>)
typedef std::vector<int> storage;
typedef std::vector<int*> pointer_ra_container;
Modified: trunk/libs/iterator/test/is_lvalue_iterator.cpp
==============================================================================
--- trunk/libs/iterator/test/is_lvalue_iterator.cpp Fri Oct 11 19:22:36 2013 (r86249)
+++ trunk/libs/iterator/test/is_lvalue_iterator.cpp 2013-10-11 19:23:26 EDT (Fri, 11 Oct 2013) (r86250)
@@ -20,7 +20,6 @@
~v();
};
-BOOST_TT_BROKEN_COMPILER_SPEC(v)
struct value_iterator : boost::iterator<std::input_iterator_tag,v>
{
@@ -83,8 +82,6 @@
constant_lvalue_iterator operator++(int);
};
-BOOST_TT_BROKEN_COMPILER_SPEC(proxy_iterator<v>::proxy)
-BOOST_TT_BROKEN_COMPILER_SPEC(proxy_iterator<int>::proxy)
int main()
{
Modified: trunk/libs/iterator/test/is_readable_iterator.cpp
==============================================================================
--- trunk/libs/iterator/test/is_readable_iterator.cpp Fri Oct 11 19:22:36 2013 (r86249)
+++ trunk/libs/iterator/test/is_readable_iterator.cpp 2013-10-11 19:23:26 EDT (Fri, 11 Oct 2013) (r86250)
@@ -20,7 +20,6 @@
~v();
};
-BOOST_TT_BROKEN_COMPILER_SPEC(v)
struct value_iterator : boost::iterator<std::input_iterator_tag,v>
{
@@ -71,7 +70,6 @@
proxy operator*() const;
};
-BOOST_TT_BROKEN_COMPILER_SPEC(proxy_iterator::proxy)
int main()
{
Modified: trunk/libs/iterator/test/pointee.cpp
==============================================================================
--- trunk/libs/iterator/test/pointee.cpp Fri Oct 11 19:22:36 2013 (r86249)
+++ trunk/libs/iterator/test/pointee.cpp 2013-10-11 19:23:26 EDT (Fri, 11 Oct 2013) (r86250)
@@ -35,7 +35,6 @@
template <class T> operator T&() const;
};
-BOOST_TT_BROKEN_COMPILER_SPEC(X)
int main()
{
Modified: trunk/libs/iterator/test/unit_tests.cpp
==============================================================================
--- trunk/libs/iterator/test/unit_tests.cpp Fri Oct 11 19:22:36 2013 (r86249)
+++ trunk/libs/iterator/test/unit_tests.cpp 2013-10-11 19:23:26 EDT (Fri, 11 Oct 2013) (r86250)
@@ -13,7 +13,6 @@
struct X { int a; };
-BOOST_TT_BROKEN_COMPILER_SPEC(X)
struct Xiter : boost::iterator_adaptor<Xiter,X*>
{
Modified: trunk/libs/python/test/const_argument.cpp
==============================================================================
--- trunk/libs/python/test/const_argument.cpp Fri Oct 11 19:22:36 2013 (r86249)
+++ trunk/libs/python/test/const_argument.cpp 2013-10-11 19:23:26 EDT (Fri, 11 Oct 2013) (r86250)
@@ -12,7 +12,6 @@
#include <boost/type_traits/broken_compiler_spec.hpp>
using namespace boost::python;
-BOOST_TT_BROKEN_COMPILER_SPEC( object )
#if BOOST_WORKAROUND(BOOST_MSVC, == 1200)
bool accept_const_arg( object );
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk