|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86249 - in trunk/boost: . bind circular_buffer config detail function function_types/detail iterator mpl mpl/aux_ mpl/aux_/config mpl/vector/aux_ parameter/aux_ python/converter range serialization smart_ptr tr1 type_traits
From: steveire_at_[hidden]
Date: 2013-10-11 19:22:37
Author: skelly
Date: 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013)
New Revision: 86249
URL: http://svn.boost.org/trac/boost/changeset/86249
Log:
Remove remaining occurances of BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
These evaded scripting.
Text files modified:
trunk/boost/bind/bind.hpp | 43 ------------------------
trunk/boost/circular_buffer/details.hpp | 18 ----------
trunk/boost/config/suffix.hpp | 33 -------------------
trunk/boost/detail/iterator.hpp | 3 -
trunk/boost/function/function_fwd.hpp | 3 -
trunk/boost/function_types/detail/cv_traits.hpp | 6 +--
trunk/boost/iterator/iterator_facade.hpp | 5 --
trunk/boost/iterator/transform_iterator.hpp | 10 -----
trunk/boost/mpl/aux_/config/ctps.hpp | 2 -
trunk/boost/mpl/aux_/numeric_op.hpp | 10 -----
trunk/boost/mpl/aux_/reverse_fold_impl.hpp | 3 -
trunk/boost/mpl/aux_/reverse_fold_impl_body.hpp | 12 ++----
trunk/boost/mpl/aux_/reverse_iter_fold_impl.hpp | 3 -
trunk/boost/mpl/bind.hpp | 39 ----------------------
trunk/boost/mpl/integral_c.hpp | 3 -
trunk/boost/mpl/vector/aux_/at.hpp | 5 +-
trunk/boost/mpl/vector/aux_/include_preprocessed.hpp | 3 -
trunk/boost/mpl/vector/aux_/numbered.hpp | 5 +-
trunk/boost/multi_index_container.hpp | 3 -
trunk/boost/parameter/aux_/cast.hpp | 6 +--
trunk/boost/python/converter/registered.hpp | 3 -
trunk/boost/range/iterator.hpp | 2 -
trunk/boost/range/value_type.hpp | 4 --
trunk/boost/serialization/optional.hpp | 31 -----------------
trunk/boost/smart_ptr/shared_ptr.hpp | 8 ++--
trunk/boost/tr1/functional.hpp | 3 -
trunk/boost/type_traits/add_reference.hpp | 33 -------------------
trunk/boost/type_traits/broken_compiler_spec.hpp | 69 ----------------------------------------
trunk/boost/type_traits/is_member_function_pointer.hpp | 5 +-
29 files changed, 31 insertions(+), 342 deletions(-)
Modified: trunk/boost/bind/bind.hpp
==============================================================================
--- trunk/boost/bind/bind.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/bind/bind.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -980,8 +980,6 @@
// add_value
-#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) || (__SUNPRO_CC >= 0x530)
-
#if defined( __BORLANDC__ ) && BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT(0x582) )
template<class T> struct add_value
@@ -1033,45 +1031,6 @@
typedef bind_t<R, F, L> type;
};
-#else
-
-template<int I> struct _avt_0;
-
-template<> struct _avt_0<1>
-{
- template<class T> struct inner
- {
- typedef T type;
- };
-};
-
-template<> struct _avt_0<2>
-{
- template<class T> struct inner
- {
- typedef value<T> type;
- };
-};
-
-typedef char (&_avt_r1) [1];
-typedef char (&_avt_r2) [2];
-
-template<class T> _avt_r1 _avt_f(value<T>);
-template<class T> _avt_r1 _avt_f(reference_wrapper<T>);
-template<int I> _avt_r1 _avt_f(arg<I>);
-template<int I> _avt_r1 _avt_f(arg<I> (*) ());
-template<class R, class F, class L> _avt_r1 _avt_f(bind_t<R, F, L>);
-
-_avt_r2 _avt_f(...);
-
-template<class T> struct add_value
-{
- static T t();
- typedef typename _avt_0<sizeof(_avt_f(t()))>::template inner<T>::type type;
-};
-
-#endif
-
// list_av_N
template<class A1> struct list_av_1
@@ -1616,7 +1575,7 @@
// data member pointers
-#if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) || defined(BOOST_NO_FUNCTION_TEMPLATE_ORDERING) \
+#if defined(BOOST_NO_FUNCTION_TEMPLATE_ORDERING) \
|| ( defined(__BORLANDC__) && BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x620 ) ) )
template<class R, class T, class A1>
Modified: trunk/boost/circular_buffer/details.hpp
==============================================================================
--- trunk/boost/circular_buffer/details.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/circular_buffer/details.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -423,24 +423,6 @@
return it + n;
}
-#if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(BOOST_MSVC_STD_ITERATOR)
-
-//! Iterator category.
-template <class Buff, class Traits>
-inline std::random_access_iterator_tag iterator_category(const iterator<Buff, Traits>&) {
- return std::random_access_iterator_tag();
-}
-
-//! The type of the elements stored in the circular buffer.
-template <class Buff, class Traits>
-inline typename Traits::value_type* value_type(const iterator<Buff, Traits>&) { return 0; }
-
-//! Distance type.
-template <class Buff, class Traits>
-inline typename Traits::difference_type* distance_type(const iterator<Buff, Traits>&) { return 0; }
-
-#endif // #if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(BOOST_MSVC_STD_ITERATOR)
-
/*!
\fn ForwardIterator uninitialized_copy(InputIterator first, InputIterator last, ForwardIterator dest)
\brief Equivalent of <code>std::uninitialized_copy</code> but with explicit specification of value type.
Modified: trunk/boost/config/suffix.hpp
==============================================================================
--- trunk/boost/config/suffix.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/config/suffix.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -122,39 +122,6 @@
# endif
//
-// Without partial specialization, can't test for partial specialisation bugs:
-//
-# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- && !defined(BOOST_BCB_PARTIAL_SPECIALIZATION_BUG)
-# define BOOST_BCB_PARTIAL_SPECIALIZATION_BUG
-# endif
-
-//
-// Without partial specialization, we can't have array-type partial specialisations:
-//
-# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- && !defined(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS)
-# define BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS
-# endif
-
-//
-// Without partial specialization, std::iterator_traits can't work:
-//
-# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- && !defined(BOOST_NO_STD_ITERATOR_TRAITS)
-# define BOOST_NO_STD_ITERATOR_TRAITS
-# endif
-
-//
-// Without partial specialization, partial
-// specialization with default args won't work either:
-//
-# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- && !defined(BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS)
-# define BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS
-# endif
-
-//
// Without member template support, we can't have template constructors
// in the standard library either:
//
Modified: trunk/boost/detail/iterator.hpp
==============================================================================
--- trunk/boost/detail/iterator.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/detail/iterator.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -86,8 +86,7 @@
# else
-# if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- && !defined(BOOST_MSVC_STD_ITERATOR)
+# if !defined(BOOST_MSVC_STD_ITERATOR)
// This is the case where everything conforms except BOOST_NO_STD_ITERATOR_TRAITS
Modified: trunk/boost/function/function_fwd.hpp
==============================================================================
--- trunk/boost/function/function_fwd.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/function/function_fwd.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -19,8 +19,7 @@
}}}
#endif
-#if defined (BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- || defined(BOOST_BCB_PARTIAL_SPECIALIZATION_BUG) \
+#if defined(BOOST_BCB_PARTIAL_SPECIALIZATION_BUG) \
|| !(defined(BOOST_STRICT_CONFIG) || !defined(__SUNPRO_CC) || __SUNPRO_CC > 0x540)
# define BOOST_FUNCTION_NO_FUNCTION_TYPE_SYNTAX
#endif
Modified: trunk/boost/function_types/detail/cv_traits.hpp
==============================================================================
--- trunk/boost/function_types/detail/cv_traits.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/function_types/detail/cv_traits.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -12,8 +12,7 @@
#include <cstddef>
#include <boost/detail/workaround.hpp>
-#if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- || BOOST_WORKAROUND(__BORLANDC__, <= 0x582)
+#if BOOST_WORKAROUND(__BORLANDC__, <= 0x582)
# include <boost/type_traits/remove_cv.hpp>
# include <boost/type_traits/remove_pointer.hpp>
# include <boost/type_traits/remove_reference.hpp>
@@ -23,8 +22,7 @@
namespace boost { namespace function_types { namespace detail {
-#if ! (defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- || BOOST_WORKAROUND(__BORLANDC__, <= 0x582))
+#if BOOST_WORKAROUND(__BORLANDC__, <= 0x582))
template<typename T> struct cv_traits
{ typedef non_cv tag; typedef T type; };
Modified: trunk/boost/iterator/iterator_facade.hpp
==============================================================================
--- trunk/boost/iterator/iterator_facade.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/iterator/iterator_facade.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -101,10 +101,7 @@
, add_pointer<value_type>
>::type pointer;
-# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- && (BOOST_WORKAROUND(_STLPORT_VERSION, BOOST_TESTED_AT(0x452)) \
- || BOOST_WORKAROUND(BOOST_DINKUMWARE_STDLIB, BOOST_TESTED_AT(310))) \
- || BOOST_WORKAROUND(BOOST_RWSTD_VER, BOOST_TESTED_AT(0x20101)) \
+# if BOOST_WORKAROUND(BOOST_RWSTD_VER, BOOST_TESTED_AT(0x20101)) \
|| BOOST_WORKAROUND(BOOST_DINKUMWARE_STDLIB, <= 310)
// To interoperate with some broken library/compiler
Modified: trunk/boost/iterator/transform_iterator.hpp
==============================================================================
--- trunk/boost/iterator/transform_iterator.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/iterator/transform_iterator.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -148,16 +148,6 @@
{
return transform_iterator<UnaryFunc, Iterator>(it, UnaryFunc());
}
-
-#if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION ) && !defined(BOOST_NO_FUNCTION_TEMPLATE_ORDERING)
- template <class Return, class Argument, class Iterator>
- transform_iterator< Return (*)(Argument), Iterator, Return>
- make_transform_iterator(Iterator it, Return (*fun)(Argument))
- {
- return transform_iterator<Return (*)(Argument), Iterator, Return>(it, fun);
- }
-#endif
-
} // namespace boost
#include <boost/iterator/detail/config_undef.hpp>
Modified: trunk/boost/mpl/aux_/config/ctps.hpp
==============================================================================
--- trunk/boost/mpl/aux_/config/ctps.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/mpl/aux_/config/ctps.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -25,6 +25,4 @@
#endif
-// BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION is defined in <boost/config.hpp>
-
#endif // BOOST_MPL_AUX_CONFIG_CTPS_HPP_INCLUDED
Modified: trunk/boost/mpl/aux_/numeric_op.hpp
==============================================================================
--- trunk/boost/mpl/aux_/numeric_op.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/mpl/aux_/numeric_op.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -110,20 +110,10 @@
};
};
-
-#if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- && defined(BOOST_MSVC)
-template< typename T > struct AUX778076_OP_TAG_NAME
- : tag<T,na>
-{
-};
-#else
template< typename T > struct AUX778076_OP_TAG_NAME
{
typedef typename T::tag type;
};
-#endif
-
#if AUX778076_OP_ARITY != 2
Modified: trunk/boost/mpl/aux_/reverse_fold_impl.hpp
==============================================================================
--- trunk/boost/mpl/aux_/reverse_fold_impl.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/mpl/aux_/reverse_fold_impl.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -19,8 +19,7 @@
# include <boost/mpl/deref.hpp>
# include <boost/mpl/apply.hpp>
# include <boost/mpl/aux_/config/ctps.hpp>
-# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- || defined(BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC)
+# if defined(BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC)
# include <boost/mpl/if.hpp>
# include <boost/type_traits/is_same.hpp>
# endif
Modified: trunk/boost/mpl/aux_/reverse_fold_impl_body.hpp
==============================================================================
--- trunk/boost/mpl/aux_/reverse_fold_impl_body.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/mpl/aux_/reverse_fold_impl_body.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -76,8 +76,7 @@
>
struct AUX778076_FOLD_IMPL_NAME;
-#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- && !defined(BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC)
+#if !defined(BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC)
# define BOOST_PP_ITERATION_PARAMS_1 \
(3,(0, BOOST_MPL_LIMIT_UNROLLING, <boost/mpl/aux_/reverse_fold_impl_body.hpp>))
@@ -164,7 +163,7 @@
typedef Last iterator;
};
-#else // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
+#else // BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC
template< long N >
struct AUX778076_FOLD_CHUNK_NAME;
@@ -301,7 +300,7 @@
{
};
-#endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
+#endif // BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC
}}}
@@ -319,8 +318,7 @@
# define n_ BOOST_PP_FRAME_ITERATION(1)
-#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- && !defined(BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC)
+#if !defined(BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC)
template<
typename First
@@ -388,7 +386,7 @@
};
-#endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
+#endif // BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC
# undef n_
Modified: trunk/boost/mpl/aux_/reverse_iter_fold_impl.hpp
==============================================================================
--- trunk/boost/mpl/aux_/reverse_iter_fold_impl.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/mpl/aux_/reverse_iter_fold_impl.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -18,8 +18,7 @@
# include <boost/mpl/next_prior.hpp>
# include <boost/mpl/apply.hpp>
# include <boost/mpl/aux_/config/ctps.hpp>
-# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- || defined(BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC)
+# if defined(BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC)
# include <boost/mpl/if.hpp>
# include <boost/type_traits/is_same.hpp>
# endif
Modified: trunk/boost/mpl/bind.hpp
==============================================================================
--- trunk/boost/mpl/bind.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/mpl/bind.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -174,8 +174,7 @@
(3,(0, BOOST_MPL_LIMIT_METAFUNCTION_ARITY, <boost/mpl/bind.hpp>))
#include BOOST_PP_ITERATE()
-#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- && !defined(BOOST_MPL_CFG_NO_TEMPLATE_TEMPLATE_PARAMETERS)
+#if !defined(BOOST_MPL_CFG_NO_TEMPLATE_TEMPLATE_PARAMETERS)
/// if_/eval_if specializations
# define AUX778076_SPEC_NAME if_
# define BOOST_PP_ITERATION_PARAMS_1 (3,(3, 3, <boost/mpl/bind.hpp>))
@@ -188,42 +187,6 @@
#endif
#endif
-// real C++ version is already taken care of
-#if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- && !defined(BOOST_MPL_CFG_NO_BIND_TEMPLATE)
-
-namespace aux {
-// apply_count_args
-#define AUX778076_COUNT_ARGS_PREFIX bind
-#define AUX778076_COUNT_ARGS_DEFAULT na
-#define AUX778076_COUNT_ARGS_ARITY BOOST_MPL_LIMIT_METAFUNCTION_ARITY
-#include <boost/mpl/aux_/count_args.hpp>
-}
-
-// bind
-template<
- typename F, AUX778076_BIND_PARAMS(typename T) AUX778076_DMC_PARAM()
- >
-struct bind
- : aux::bind_chooser<
- aux::bind_count_args<AUX778076_BIND_PARAMS(T)>::value
- >::template result_< F,AUX778076_BIND_PARAMS(T) >::type
-{
-};
-
-BOOST_MPL_AUX_ARITY_SPEC(
- BOOST_PP_INC(BOOST_MPL_LIMIT_METAFUNCTION_ARITY)
- , bind
- )
-
-BOOST_MPL_AUX_TEMPLATE_ARITY_SPEC(
- BOOST_PP_INC(BOOST_MPL_LIMIT_METAFUNCTION_ARITY)
- , bind
- )
-
-
-#endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
-
# undef AUX778076_BIND_NESTED_DEFAULT_PARAMS
# undef AUX778076_BIND_N_SPEC_PARAMS
# undef AUX778076_BIND_N_PARAMS
Modified: trunk/boost/mpl/integral_c.hpp
==============================================================================
--- trunk/boost/mpl/integral_c.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/mpl/integral_c.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -32,8 +32,7 @@
#include <boost/mpl/aux_/integral_wrapper.hpp>
-#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- && !BOOST_WORKAROUND(__BORLANDC__, <= 0x551)
+#if !BOOST_WORKAROUND(__BORLANDC__, <= 0x551)
BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN
// 'bool' constant doesn't have 'next'/'prior' members
template< bool C >
Modified: trunk/boost/mpl/vector/aux_/at.hpp
==============================================================================
--- trunk/boost/mpl/vector/aux_/at.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/mpl/vector/aux_/at.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -55,8 +55,7 @@
#else
-# if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- && !defined(BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC)
+# if !defined(BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC)
template< typename Vector, long n_ > struct v_at;
@@ -106,7 +105,7 @@
{
};
-# endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
+# endif // BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC
#endif // BOOST_MPL_CFG_TYPEOF_BASED_SEQUENCES
Modified: trunk/boost/mpl/vector/aux_/include_preprocessed.hpp
==============================================================================
--- trunk/boost/mpl/vector/aux_/include_preprocessed.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/mpl/vector/aux_/include_preprocessed.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -23,8 +23,7 @@
#if defined(BOOST_MPL_CFG_TYPEOF_BASED_SEQUENCES)
# define AUX778076_INCLUDE_DIR typeof_based
-#elif defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- || defined(BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC)
+#elif defined(BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC)
# define AUX778076_INCLUDE_DIR no_ctps
#else
# define AUX778076_INCLUDE_DIR plain
Modified: trunk/boost/mpl/vector/aux_/numbered.hpp
==============================================================================
--- trunk/boost/mpl/vector/aux_/numbered.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/mpl/vector/aux_/numbered.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -125,8 +125,7 @@
# endif // i_ > 0
-# if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- && !defined(BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC)
+# if !defined(BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC)
template< typename V >
struct v_at<V,i_>
@@ -209,7 +208,7 @@
};
};
-# endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
+# endif // BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC
#endif // BOOST_MPL_CFG_TYPEOF_BASED_SEQUENCES
Modified: trunk/boost/multi_index_container.hpp
==============================================================================
--- trunk/boost/multi_index_container.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/multi_index_container.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -1342,8 +1342,7 @@
} /* namespace multi_index */
-#if !defined(BOOST_MULTI_INDEX_DISABLE_SERIALIZATION)&&\
- !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
+#if !defined(BOOST_MULTI_INDEX_DISABLE_SERIALIZATION)
/* class version = 1 : we now serialize the size through
* boost::serialization::collection_size_type.
* class version = 2 : proper use of {save|load}_construct_data.
Modified: trunk/boost/parameter/aux_/cast.hpp
==============================================================================
--- trunk/boost/parameter/aux_/cast.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/parameter/aux_/cast.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -7,8 +7,7 @@
# include <boost/detail/workaround.hpp>
-# if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- && !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
+# if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
# include <boost/type_traits/add_reference.hpp>
# include <boost/type_traits/remove_const.hpp>
# endif
@@ -17,8 +16,7 @@
struct use_default_tag {};
-# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
+# if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
# define BOOST_PARAMETER_FUNCTION_CAST(value, predicate) value
Modified: trunk/boost/python/converter/registered.hpp
==============================================================================
--- trunk/boost/python/converter/registered.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/python/converter/registered.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -44,8 +44,7 @@
{
};
-# if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- && !BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1310))
+# if !BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1310))
// collapses a few more types to the same static instance. MSVC7.1
// fails to strip cv-qualification from array types in typeid. For
// some reason we can't use this collapse there or array converters
Modified: trunk/boost/range/iterator.hpp
==============================================================================
--- trunk/boost/range/iterator.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/range/iterator.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -67,6 +67,4 @@
} // namespace boost
-//#endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
-
#endif
Modified: trunk/boost/range/value_type.hpp
==============================================================================
--- trunk/boost/range/value_type.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/range/value_type.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -18,10 +18,6 @@
#include <boost/range/config.hpp>
#include <boost/range/iterator.hpp>
-//#ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
-//#include <boost/range/detail/value_type.hpp>
-//#else
-
#include <boost/iterator/iterator_traits.hpp>
namespace boost
Modified: trunk/boost/serialization/optional.hpp
==============================================================================
--- trunk/boost/serialization/optional.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/serialization/optional.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -90,37 +90,6 @@
boost::serialization::split_free(ar, t, version);
}
-// the following would be slightly more efficient. But it
-// would mean that archives created with programs that support
-// TPS wouldn't be readable by programs that don't support TPS.
-// Hence we decline to support this otherwise convenient optimization.
-//#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
-#if 0
-
-template <class T>
-struct implementation_level<optional< T > >
-{
- typedef mpl::integral_c_tag tag;
- typedef mpl::int_<boost::serialization::object_serializable> type;
- BOOST_STATIC_CONSTANT(
- int ,
- value = boost::serialization::implementation_level::type::value
- );
-};
-
-template<class T>
-struct tracking_level<optional< T > >
-{
- typedef mpl::integral_c_tag tag;
- typedef mpl::int_<boost::serialization::track_never> type;
- BOOST_STATIC_CONSTANT(
- int ,
- value = boost::serialization::tracking_level::type::value
- );
-};
-
-#endif
-
} // serialization
} // namespace boost
Modified: trunk/boost/smart_ptr/shared_ptr.hpp
==============================================================================
--- trunk/boost/smart_ptr/shared_ptr.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/smart_ptr/shared_ptr.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -452,7 +452,7 @@
boost::detail::sp_deleter_construct( this, tmp );
}
-#elif !defined( BOOST_NO_SFINAE ) && !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION )
+#elif !defined( BOOST_NO_SFINAE )
template<class Ap>
explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr<Ap, int>::type = 0 ): px( r.get() ), pn()
@@ -467,7 +467,7 @@
boost::detail::sp_deleter_construct( this, tmp );
}
-#endif // BOOST_NO_SFINAE, BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
+#endif // BOOST_NO_SFINAE
#endif // BOOST_NO_AUTO_PTR
@@ -523,7 +523,7 @@
return *this;
}
-#elif !defined( BOOST_NO_SFINAE ) && !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION )
+#elif !defined( BOOST_NO_SFINAE )
template<class Ap>
typename boost::detail::sp_enable_if_auto_ptr< Ap, shared_ptr & >::type operator=( Ap r )
@@ -532,7 +532,7 @@
return *this;
}
-#endif // BOOST_NO_SFINAE, BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
+#endif // BOOST_NO_SFINAE
#endif // BOOST_NO_AUTO_PTR
Modified: trunk/boost/tr1/functional.hpp
==============================================================================
--- trunk/boost/tr1/functional.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/tr1/functional.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -37,8 +37,7 @@
#endif // BOOST_HAS_TR1_REFERENCE_WRAPPER
#if !defined(BOOST_HAS_TR1_RESULT_OF)\
- && !defined(BOOST_NO_SFINAE) && \
- !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
+ && !defined(BOOST_NO_SFINAE)
//
// we can only actually include result_of.hpp if the compiler
Modified: trunk/boost/type_traits/add_reference.hpp
==============================================================================
--- trunk/boost/type_traits/add_reference.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/type_traits/add_reference.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -20,37 +20,6 @@
namespace detail {
-#if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && defined(BOOST_MSVC6_MEMBER_TEMPLATES)
-
-template <bool x>
-struct reference_adder
-{
- template <typename T> struct result_
- {
- typedef T& type;
- };
-};
-
-template <>
-struct reference_adder<true>
-{
- template <typename T> struct result_
- {
- typedef T type;
- };
-};
-
-template <typename T>
-struct add_reference_impl
-{
- typedef typename reference_adder<
- ::boost::is_reference<T>::value
- >::template result_<T> result;
-
- typedef typename result::type type;
-};
-
-#else
//
// We can't filter out rvalue_references at the same level as
// references or we get ambiguities from msvc:
@@ -78,8 +47,6 @@
BOOST_TT_AUX_TYPE_TRAIT_IMPL_PARTIAL_SPEC1_1(typename T,add_reference,T&,T&)
-#endif
-
// these full specialisations are always required:
BOOST_TT_AUX_TYPE_TRAIT_IMPL_SPEC1(add_reference,void,void)
#ifndef BOOST_NO_CV_VOID_SPECIALIZATIONS
Modified: trunk/boost/type_traits/broken_compiler_spec.hpp
==============================================================================
--- trunk/boost/type_traits/broken_compiler_spec.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/type_traits/broken_compiler_spec.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -12,77 +12,8 @@
#include <boost/mpl/aux_/lambda_support.hpp>
#include <boost/config.hpp>
-// these are needed regardless of BOOST_TT_NO_BROKEN_COMPILER_SPEC
-
-// agurt, 27/jun/03: disable the workaround if user defined
-// BOOST_TT_NO_BROKEN_COMPILER_SPEC
-#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- || defined(BOOST_TT_NO_BROKEN_COMPILER_SPEC)
-
# define BOOST_TT_BROKEN_COMPILER_SPEC(T) /**/
-#else
-
-// same as BOOST_TT_AUX_TYPE_TRAIT_IMPL_SPEC1 macro, except that it
-// never gets #undef-ined
-# define BOOST_TT_AUX_BROKEN_TYPE_TRAIT_SPEC1(trait,spec,result) \
-template<> struct trait##_impl<spec> \
-{ \
- typedef result type; \
-}; \
-/**/
-
-# define BOOST_TT_AUX_REMOVE_CONST_VOLATILE_RANK1_SPEC(T) \
- BOOST_TT_AUX_BROKEN_TYPE_TRAIT_SPEC1(remove_const,T const,T) \
- BOOST_TT_AUX_BROKEN_TYPE_TRAIT_SPEC1(remove_const,T const volatile,T volatile) \
- BOOST_TT_AUX_BROKEN_TYPE_TRAIT_SPEC1(remove_volatile,T volatile,T) \
- BOOST_TT_AUX_BROKEN_TYPE_TRAIT_SPEC1(remove_volatile,T const volatile,T const) \
- /**/
-
-# define BOOST_TT_AUX_REMOVE_PTR_REF_RANK_1_SPEC(T) \
- BOOST_TT_AUX_BROKEN_TYPE_TRAIT_SPEC1(remove_pointer,T*,T) \
- BOOST_TT_AUX_BROKEN_TYPE_TRAIT_SPEC1(remove_pointer,T*const,T) \
- BOOST_TT_AUX_BROKEN_TYPE_TRAIT_SPEC1(remove_pointer,T*volatile,T) \
- BOOST_TT_AUX_BROKEN_TYPE_TRAIT_SPEC1(remove_pointer,T*const volatile,T) \
- BOOST_TT_AUX_BROKEN_TYPE_TRAIT_SPEC1(remove_reference,T&,T) \
- /**/
-
-# define BOOST_TT_AUX_REMOVE_PTR_REF_RANK_2_SPEC(T) \
- BOOST_TT_AUX_REMOVE_PTR_REF_RANK_1_SPEC(T) \
- BOOST_TT_AUX_REMOVE_PTR_REF_RANK_1_SPEC(T const) \
- BOOST_TT_AUX_REMOVE_PTR_REF_RANK_1_SPEC(T volatile) \
- BOOST_TT_AUX_REMOVE_PTR_REF_RANK_1_SPEC(T const volatile) \
- /**/
-
-# define BOOST_TT_AUX_REMOVE_ALL_RANK_1_SPEC(T) \
- BOOST_TT_AUX_REMOVE_PTR_REF_RANK_2_SPEC(T) \
- BOOST_TT_AUX_REMOVE_CONST_VOLATILE_RANK1_SPEC(T) \
- /**/
-
-# define BOOST_TT_AUX_REMOVE_ALL_RANK_2_SPEC(T) \
- BOOST_TT_AUX_REMOVE_ALL_RANK_1_SPEC(T*) \
- BOOST_TT_AUX_REMOVE_ALL_RANK_1_SPEC(T const*) \
- BOOST_TT_AUX_REMOVE_ALL_RANK_1_SPEC(T volatile*) \
- BOOST_TT_AUX_REMOVE_ALL_RANK_1_SPEC(T const volatile*) \
- /**/
-
-# define BOOST_TT_BROKEN_COMPILER_SPEC(T) \
- namespace boost { namespace detail { \
- typedef invoke_BOOST_TT_BROKEN_COMPILER_SPEC_outside_all_namespaces \
- please_invoke_BOOST_TT_BROKEN_COMPILER_SPEC_outside_all_namespaces; \
- BOOST_TT_AUX_REMOVE_ALL_RANK_1_SPEC(T) \
- BOOST_TT_AUX_REMOVE_ALL_RANK_2_SPEC(T) \
- BOOST_TT_AUX_REMOVE_ALL_RANK_2_SPEC(T*) \
- BOOST_TT_AUX_REMOVE_ALL_RANK_2_SPEC(T const*) \
- BOOST_TT_AUX_REMOVE_ALL_RANK_2_SPEC(T volatile*) \
- BOOST_TT_AUX_REMOVE_ALL_RANK_2_SPEC(T const volatile*) \
- }} \
- /**/
-
-# include <boost/type_traits/detail/type_trait_undef.hpp>
-
-#endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
-
BOOST_TT_BROKEN_COMPILER_SPEC(bool)
BOOST_TT_BROKEN_COMPILER_SPEC(char)
#ifndef BOOST_NO_INTRINSIC_WCHAR_T
Modified: trunk/boost/type_traits/is_member_function_pointer.hpp
==============================================================================
--- trunk/boost/type_traits/is_member_function_pointer.hpp Fri Oct 11 19:20:59 2013 (r86248)
+++ trunk/boost/type_traits/is_member_function_pointer.hpp 2013-10-11 19:22:36 EDT (Fri, 11 Oct 2013) (r86249)
@@ -14,8 +14,7 @@
#include <boost/type_traits/config.hpp>
#include <boost/detail/workaround.hpp>
-#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- && !BOOST_WORKAROUND(__BORLANDC__, < 0x600) && !defined(BOOST_TT_TEST_MS_FUNC_SIGS)
+#if !BOOST_WORKAROUND(__BORLANDC__, < 0x600) && !defined(BOOST_TT_TEST_MS_FUNC_SIGS)
//
// Note: we use the "workaround" version for MSVC because it works for
// __stdcall etc function types, where as the partial specialisation
@@ -125,7 +124,7 @@
BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_member_function_pointer,T,::boost::detail::is_member_function_pointer_impl<T>::value)
-#endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
+#endif
} // namespace boost
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