From d453fa3e672fd19e1d9e30e7a4bdb1966661a9a8 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Fri, 7 Oct 2005 14:26:38 +0000 Subject: [PATCH] Changed include style to
as per issue http://sourceforge.net/tracker/index.php?func=detail&aid=1079444&group_id=7586&atid=107586 Suppressed some VC++ warnings to ensure that the type_traits headers are -W4 clean. [SVN r31218] --- include/boost/type_traits/add_const.hpp | 6 ++-- include/boost/type_traits/add_cv.hpp | 6 ++-- include/boost/type_traits/add_pointer.hpp | 6 ++-- include/boost/type_traits/add_reference.hpp | 10 +++--- include/boost/type_traits/add_volatile.hpp | 6 ++-- include/boost/type_traits/alignment_of.hpp | 6 ++-- .../boost/type_traits/alignment_traits.hpp | 4 +-- .../boost/type_traits/arithmetic_traits.hpp | 10 +++--- include/boost/type_traits/array_traits.hpp | 2 +- .../type_traits/broken_compiler_spec.hpp | 6 ++-- .../boost/type_traits/composite_traits.hpp | 14 ++++---- include/boost/type_traits/config.hpp | 2 +- .../boost/type_traits/conversion_traits.hpp | 2 +- include/boost/type_traits/cv_traits.hpp | 16 ++++----- include/boost/type_traits/decay.hpp | 2 +- .../type_traits/detail/cv_traits_impl.hpp | 6 ++-- .../boost/type_traits/detail/false_result.hpp | 2 +- include/boost/type_traits/detail/ice_and.hpp | 2 +- include/boost/type_traits/detail/ice_eq.hpp | 2 +- include/boost/type_traits/detail/ice_not.hpp | 2 +- include/boost/type_traits/detail/ice_or.hpp | 2 +- .../detail/is_function_ptr_helper.hpp | 8 ++--- .../detail/is_function_ptr_tester.hpp | 10 +++--- .../detail/is_mem_fun_pointer_impl.hpp | 8 ++--- .../detail/is_mem_fun_pointer_tester.hpp | 10 +++--- include/boost/type_traits/extent.hpp | 4 +-- .../boost/type_traits/has_nothrow_assign.hpp | 6 ++-- .../type_traits/has_nothrow_constructor.hpp | 6 ++-- .../boost/type_traits/has_nothrow_copy.hpp | 6 ++-- .../type_traits/has_nothrow_destructor.hpp | 6 ++-- .../boost/type_traits/has_trivial_assign.hpp | 20 +++++------ .../type_traits/has_trivial_constructor.hpp | 12 +++---- .../boost/type_traits/has_trivial_copy.hpp | 18 +++++----- .../type_traits/has_trivial_destructor.hpp | 12 +++---- .../type_traits/has_virtual_destructor.hpp | 4 +-- include/boost/type_traits/ice.hpp | 10 +++--- include/boost/type_traits/intrinsics.hpp | 13 +++++-- include/boost/type_traits/is_abstract.hpp | 6 ++-- include/boost/type_traits/is_arithmetic.hpp | 12 +++---- include/boost/type_traits/is_array.hpp | 10 +++--- .../boost/type_traits/is_base_and_derived.hpp | 16 ++++----- include/boost/type_traits/is_base_of.hpp | 6 ++-- include/boost/type_traits/is_class.hpp | 26 +++++++------- include/boost/type_traits/is_compound.hpp | 10 +++--- include/boost/type_traits/is_const.hpp | 16 ++++----- include/boost/type_traits/is_convertible.hpp | 28 +++++++++------ include/boost/type_traits/is_empty.hpp | 36 ++++++++++--------- include/boost/type_traits/is_enum.hpp | 16 ++++----- include/boost/type_traits/is_float.hpp | 4 +-- .../boost/type_traits/is_floating_point.hpp | 4 +-- include/boost/type_traits/is_function.hpp | 16 ++++----- include/boost/type_traits/is_fundamental.hpp | 10 +++--- include/boost/type_traits/is_integral.hpp | 6 ++-- .../is_member_function_pointer.hpp | 22 ++++++------ .../type_traits/is_member_object_pointer.hpp | 14 ++++---- .../boost/type_traits/is_member_pointer.hpp | 22 ++++++------ include/boost/type_traits/is_object.hpp | 16 ++++----- include/boost/type_traits/is_pod.hpp | 14 ++++---- include/boost/type_traits/is_pointer.hpp | 22 ++++++------ include/boost/type_traits/is_polymorphic.hpp | 12 +++++-- include/boost/type_traits/is_reference.hpp | 10 +++--- include/boost/type_traits/is_same.hpp | 12 +++---- include/boost/type_traits/is_scalar.hpp | 16 ++++----- include/boost/type_traits/is_signed.hpp | 10 +++--- include/boost/type_traits/is_stateless.hpp | 18 +++++----- include/boost/type_traits/is_union.hpp | 10 +++--- include/boost/type_traits/is_unsigned.hpp | 10 +++--- include/boost/type_traits/is_void.hpp | 6 ++-- include/boost/type_traits/is_volatile.hpp | 16 ++++----- include/boost/type_traits/object_traits.hpp | 30 ++++++++-------- include/boost/type_traits/rank.hpp | 4 +-- .../boost/type_traits/reference_traits.hpp | 2 +- .../boost/type_traits/remove_all_extents.hpp | 6 ++-- include/boost/type_traits/remove_bounds.hpp | 6 ++-- include/boost/type_traits/remove_const.hpp | 12 +++---- include/boost/type_traits/remove_cv.hpp | 10 +++--- include/boost/type_traits/remove_extent.hpp | 6 ++-- include/boost/type_traits/remove_pointer.hpp | 8 ++--- .../boost/type_traits/remove_reference.hpp | 8 ++--- include/boost/type_traits/remove_volatile.hpp | 12 +++---- include/boost/type_traits/same_traits.hpp | 2 +- .../boost/type_traits/transform_traits.hpp | 10 +++--- .../type_traits/transform_traits_spec.hpp | 2 +- .../boost/type_traits/type_with_alignment.hpp | 24 ++++++------- 84 files changed, 443 insertions(+), 418 deletions(-) diff --git a/include/boost/type_traits/add_const.hpp b/include/boost/type_traits/add_const.hpp index 2d0fae0..29f0bd9 100644 --- a/include/boost/type_traits/add_const.hpp +++ b/include/boost/type_traits/add_const.hpp @@ -10,10 +10,10 @@ #ifndef BOOST_TT_ADD_CONST_HPP_INCLUDED #define BOOST_TT_ADD_CONST_HPP_INCLUDED -#include "boost/config.hpp" +#include // should be the last #include -#include "boost/type_traits/detail/type_trait_def.hpp" +#include namespace boost { @@ -42,6 +42,6 @@ BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,add_const,T&,T&) } // namespace boost -#include "boost/type_traits/detail/type_trait_undef.hpp" +#include #endif // BOOST_TT_ADD_CONST_HPP_INCLUDED diff --git a/include/boost/type_traits/add_cv.hpp b/include/boost/type_traits/add_cv.hpp index 381f17c..bfde76a 100644 --- a/include/boost/type_traits/add_cv.hpp +++ b/include/boost/type_traits/add_cv.hpp @@ -11,10 +11,10 @@ #ifndef BOOST_TT_ADD_CV_HPP_INCLUDED #define BOOST_TT_ADD_CV_HPP_INCLUDED -#include "boost/config.hpp" +#include // should be the last #include -#include "boost/type_traits/detail/type_trait_def.hpp" +#include namespace boost { @@ -43,6 +43,6 @@ BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,add_cv,T&,T&) } // namespace boost -#include "boost/type_traits/detail/type_trait_undef.hpp" +#include #endif // BOOST_TT_ADD_CV_HPP_INCLUDED diff --git a/include/boost/type_traits/add_pointer.hpp b/include/boost/type_traits/add_pointer.hpp index 0f36a2e..3e91919 100644 --- a/include/boost/type_traits/add_pointer.hpp +++ b/include/boost/type_traits/add_pointer.hpp @@ -9,10 +9,10 @@ #ifndef BOOST_TT_ADD_POINTER_HPP_INCLUDED #define BOOST_TT_ADD_POINTER_HPP_INCLUDED -#include "boost/type_traits/remove_reference.hpp" +#include // should be the last #include -#include "boost/type_traits/detail/type_trait_def.hpp" +#include namespace boost { @@ -67,6 +67,6 @@ BOOST_TT_AUX_TYPE_TRAIT_DEF1(add_pointer,T,typename detail::add_pointer_impl: } // namespace boost -#include "boost/type_traits/detail/type_trait_undef.hpp" +#include #endif // BOOST_TT_ADD_POINTER_HPP_INCLUDED diff --git a/include/boost/type_traits/add_reference.hpp b/include/boost/type_traits/add_reference.hpp index 8915b76..793ca4f 100644 --- a/include/boost/type_traits/add_reference.hpp +++ b/include/boost/type_traits/add_reference.hpp @@ -9,12 +9,12 @@ #ifndef BOOST_TT_ADD_REFERENCE_HPP_INCLUDED #define BOOST_TT_ADD_REFERENCE_HPP_INCLUDED -#include "boost/type_traits/is_reference.hpp" -#include "boost/detail/workaround.hpp" -#include "boost/config.hpp" +#include +#include +#include // should be the last #include -#include "boost/type_traits/detail/type_trait_def.hpp" +#include namespace boost { @@ -84,6 +84,6 @@ BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,add_reference,T&,T&) } // namespace boost -#include "boost/type_traits/detail/type_trait_undef.hpp" +#include #endif // BOOST_TT_ADD_REFERENCE_HPP_INCLUDED diff --git a/include/boost/type_traits/add_volatile.hpp b/include/boost/type_traits/add_volatile.hpp index c575e28..491f1c2 100644 --- a/include/boost/type_traits/add_volatile.hpp +++ b/include/boost/type_traits/add_volatile.hpp @@ -10,10 +10,10 @@ #ifndef BOOST_TT_ADD_VOLATILE_HPP_INCLUDED #define BOOST_TT_ADD_VOLATILE_HPP_INCLUDED -#include "boost/config.hpp" +#include // should be the last #include -#include "boost/type_traits/detail/type_trait_def.hpp" +#include namespace boost { @@ -42,6 +42,6 @@ BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,add_volatile,T&,T&) } // namespace boost -#include "boost/type_traits/detail/type_trait_undef.hpp" +#include #endif // BOOST_TT_ADD_VOLATILE_HPP_INCLUDED diff --git a/include/boost/type_traits/alignment_of.hpp b/include/boost/type_traits/alignment_of.hpp index 8672cca..70594c0 100644 --- a/include/boost/type_traits/alignment_of.hpp +++ b/include/boost/type_traits/alignment_of.hpp @@ -9,11 +9,11 @@ #ifndef BOOST_TT_ALIGNMENT_OF_HPP_INCLUDED #define BOOST_TT_ALIGNMENT_OF_HPP_INCLUDED -#include "boost/config.hpp" +#include #include // should be the last #include -#include "boost/type_traits/detail/size_t_trait_def.hpp" +#include #ifdef BOOST_MSVC # pragma warning(push) @@ -94,7 +94,7 @@ BOOST_TT_AUX_SIZE_T_TRAIT_SPEC1(alignment_of,void const volatile,0) # pragma warning(pop) #endif -#include "boost/type_traits/detail/size_t_trait_undef.hpp" +#include #endif // BOOST_TT_ALIGNMENT_OF_HPP_INCLUDED diff --git a/include/boost/type_traits/alignment_traits.hpp b/include/boost/type_traits/alignment_traits.hpp index 108b06b..2ed6934 100644 --- a/include/boost/type_traits/alignment_traits.hpp +++ b/include/boost/type_traits/alignment_traits.hpp @@ -9,7 +9,7 @@ #ifndef BOOST_TT_ALIGNMENT_TRAITS_HPP_INCLUDED #define BOOST_TT_ALIGNMENT_TRAITS_HPP_INCLUDED -#include "boost/type_traits/alignment_of.hpp" -#include "boost/type_traits/type_with_alignment.hpp" +#include +#include #endif // BOOST_TT_ALIGNMENT_TRAITS_HPP_INCLUDED diff --git a/include/boost/type_traits/arithmetic_traits.hpp b/include/boost/type_traits/arithmetic_traits.hpp index 156e5b6..e4670e6 100644 --- a/include/boost/type_traits/arithmetic_traits.hpp +++ b/include/boost/type_traits/arithmetic_traits.hpp @@ -11,10 +11,10 @@ #ifndef BOOST_TT_ARITHMETIC_TRAITS_HPP_INCLUDED #define BOOST_TT_ARITHMETIC_TRAITS_HPP_INCLUDED -#include "boost/type_traits/is_arithmetic.hpp" -#include "boost/type_traits/is_float.hpp" -#include "boost/type_traits/is_fundamental.hpp" -#include "boost/type_traits/is_integral.hpp" -#include "boost/type_traits/is_void.hpp" +#include +#include +#include +#include +#include #endif // BOOST_TT_ARITHMETIC_TRAITS_HPP_INCLUDED diff --git a/include/boost/type_traits/array_traits.hpp b/include/boost/type_traits/array_traits.hpp index d09dd0b..a68ae73 100644 --- a/include/boost/type_traits/array_traits.hpp +++ b/include/boost/type_traits/array_traits.hpp @@ -10,6 +10,6 @@ #ifndef BOOST_TT_ARRAY_TRAITS_HPP_INCLUDED #define BOOST_TT_ARRAY_TRAITS_HPP_INCLUDED -#include "boost/type_traits/is_array.hpp" +#include #endif // BOOST_TT_ARRAY_TRAITS_HPP_INCLUDED diff --git a/include/boost/type_traits/broken_compiler_spec.hpp b/include/boost/type_traits/broken_compiler_spec.hpp index 16e324f..fb51769 100644 --- a/include/boost/type_traits/broken_compiler_spec.hpp +++ b/include/boost/type_traits/broken_compiler_spec.hpp @@ -9,8 +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" +#include +#include // these are needed regardless of BOOST_TT_NO_BROKEN_COMPILER_SPEC #if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) @@ -88,7 +88,7 @@ template<> struct trait##_impl \ }} \ /**/ -# include "boost/type_traits/detail/type_trait_undef.hpp" +# include #endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION diff --git a/include/boost/type_traits/composite_traits.hpp b/include/boost/type_traits/composite_traits.hpp index 0ed3ac7..985a4c5 100644 --- a/include/boost/type_traits/composite_traits.hpp +++ b/include/boost/type_traits/composite_traits.hpp @@ -13,13 +13,13 @@ #ifndef BOOST_TT_COMPOSITE_TRAITS_HPP_INCLUDED #define BOOST_TT_COMPOSITE_TRAITS_HPP_INCLUDED -#include "boost/type_traits/is_array.hpp" -#include "boost/type_traits/is_enum.hpp" -#include "boost/type_traits/is_member_pointer.hpp" -#include "boost/type_traits/is_member_function_pointer.hpp" -#include "boost/type_traits/is_pointer.hpp" -#include "boost/type_traits/is_reference.hpp" -#include "boost/type_traits/is_union.hpp" +#include +#include +#include +#include +#include +#include +#include #endif // BOOST_TT_COMPOSITE_TRAITS_HPP_INCLUDED diff --git a/include/boost/type_traits/config.hpp b/include/boost/type_traits/config.hpp index cdb4ac6..6f24214 100644 --- a/include/boost/type_traits/config.hpp +++ b/include/boost/type_traits/config.hpp @@ -10,7 +10,7 @@ #define BOOST_TT_CONFIG_HPP_INCLUDED #ifndef BOOST_CONFIG_HPP -#include "boost/config.hpp" +#include #endif // diff --git a/include/boost/type_traits/conversion_traits.hpp b/include/boost/type_traits/conversion_traits.hpp index 8278531..01edfa6 100644 --- a/include/boost/type_traits/conversion_traits.hpp +++ b/include/boost/type_traits/conversion_traits.hpp @@ -12,6 +12,6 @@ #ifndef BOOST_TT_CONVERSION_TRAITS_HPP_INCLUDED #define BOOST_TT_CONVERSION_TRAITS_HPP_INCLUDED -#include "boost/type_traits/is_convertible.hpp" +#include #endif // BOOST_TT_CONVERSION_TRAITS_HPP_INCLUDED diff --git a/include/boost/type_traits/cv_traits.hpp b/include/boost/type_traits/cv_traits.hpp index aac5054..5bd6c4f 100644 --- a/include/boost/type_traits/cv_traits.hpp +++ b/include/boost/type_traits/cv_traits.hpp @@ -12,13 +12,13 @@ #ifndef BOOST_TT_CV_TRAITS_HPP_INCLUDED #define BOOST_TT_CV_TRAITS_HPP_INCLUDED -#include "boost/type_traits/add_const.hpp" -#include "boost/type_traits/add_volatile.hpp" -#include "boost/type_traits/add_cv.hpp" -#include "boost/type_traits/is_const.hpp" -#include "boost/type_traits/is_volatile.hpp" -#include "boost/type_traits/remove_const.hpp" -#include "boost/type_traits/remove_volatile.hpp" -#include "boost/type_traits/remove_cv.hpp" +#include +#include +#include +#include +#include +#include +#include +#include #endif // BOOST_TT_CV_TRAITS_HPP_INCLUDED diff --git a/include/boost/type_traits/decay.hpp b/include/boost/type_traits/decay.hpp index 81f5303..c23a9b0 100755 --- a/include/boost/type_traits/decay.hpp +++ b/include/boost/type_traits/decay.hpp @@ -9,7 +9,7 @@ #ifndef BOOST_TT_DECAY_HPP_INCLUDED #define BOOST_TT_DECAY_HPP_INCLUDED -#include "boost/type_traits/config.hpp" +#include #include #include #include diff --git a/include/boost/type_traits/detail/cv_traits_impl.hpp b/include/boost/type_traits/detail/cv_traits_impl.hpp index e5af6c0..b3fa595 100644 --- a/include/boost/type_traits/detail/cv_traits_impl.hpp +++ b/include/boost/type_traits/detail/cv_traits_impl.hpp @@ -11,8 +11,8 @@ #ifndef BOOST_TT_DETAIL_CV_TRAITS_IMPL_HPP_INCLUDED #define BOOST_TT_DETAIL_CV_TRAITS_IMPL_HPP_INCLUDED -#include "boost/config.hpp" -#include "boost/detail/workaround.hpp" +#include +#include #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION @@ -23,7 +23,7 @@ namespace boost { namespace detail { #else -#include "boost/type_traits/detail/yes_no_type.hpp" +#include namespace boost { namespace type_traits { namespace gcc8503 { diff --git a/include/boost/type_traits/detail/false_result.hpp b/include/boost/type_traits/detail/false_result.hpp index b7ea184..e65e8bc 100644 --- a/include/boost/type_traits/detail/false_result.hpp +++ b/include/boost/type_traits/detail/false_result.hpp @@ -9,7 +9,7 @@ #ifndef BOOST_TT_DETAIL_FALSE_RESULT_HPP_INCLUDED #define BOOST_TT_DETAIL_FALSE_RESULT_HPP_INCLUDED -#include "boost/config.hpp" +#include namespace boost { namespace type_traits { diff --git a/include/boost/type_traits/detail/ice_and.hpp b/include/boost/type_traits/detail/ice_and.hpp index 92645b5..8b461b9 100644 --- a/include/boost/type_traits/detail/ice_and.hpp +++ b/include/boost/type_traits/detail/ice_and.hpp @@ -9,7 +9,7 @@ #ifndef BOOST_TT_DETAIL_ICE_AND_HPP_INCLUDED #define BOOST_TT_DETAIL_ICE_AND_HPP_INCLUDED -#include "boost/config.hpp" +#include namespace boost { namespace type_traits { diff --git a/include/boost/type_traits/detail/ice_eq.hpp b/include/boost/type_traits/detail/ice_eq.hpp index 4c177f3..ea42a60 100644 --- a/include/boost/type_traits/detail/ice_eq.hpp +++ b/include/boost/type_traits/detail/ice_eq.hpp @@ -8,7 +8,7 @@ #ifndef BOOST_TT_DETAIL_ICE_EQ_HPP_INCLUDED #define BOOST_TT_DETAIL_ICE_EQ_HPP_INCLUDED -#include "boost/config.hpp" +#include namespace boost { namespace type_traits { diff --git a/include/boost/type_traits/detail/ice_not.hpp b/include/boost/type_traits/detail/ice_not.hpp index 6cac840..ee1dca0 100644 --- a/include/boost/type_traits/detail/ice_not.hpp +++ b/include/boost/type_traits/detail/ice_not.hpp @@ -8,7 +8,7 @@ #ifndef BOOST_TT_DETAIL_ICE_NOT_HPP_INCLUDED #define BOOST_TT_DETAIL_ICE_NOT_HPP_INCLUDED -#include "boost/config.hpp" +#include namespace boost { namespace type_traits { diff --git a/include/boost/type_traits/detail/ice_or.hpp b/include/boost/type_traits/detail/ice_or.hpp index e116e64..f88d9f6 100644 --- a/include/boost/type_traits/detail/ice_or.hpp +++ b/include/boost/type_traits/detail/ice_or.hpp @@ -8,7 +8,7 @@ #ifndef BOOST_TT_DETAIL_ICE_OR_HPP_INCLUDED #define BOOST_TT_DETAIL_ICE_OR_HPP_INCLUDED -#include "boost/config.hpp" +#include namespace boost { namespace type_traits { diff --git a/include/boost/type_traits/detail/is_function_ptr_helper.hpp b/include/boost/type_traits/detail/is_function_ptr_helper.hpp index 7a6fdda..605d0bc 100644 --- a/include/boost/type_traits/detail/is_function_ptr_helper.hpp +++ b/include/boost/type_traits/detail/is_function_ptr_helper.hpp @@ -15,12 +15,12 @@ #ifndef BOOST_TT_DETAIL_IS_FUNCTION_PTR_HELPER_HPP_INCLUDED #define BOOST_TT_DETAIL_IS_FUNCTION_PTR_HELPER_HPP_INCLUDED -#include "boost/type_traits/config.hpp" +#include #if defined(BOOST_TT_PREPROCESSING_MODE) -# include "boost/preprocessor/iterate.hpp" -# include "boost/preprocessor/enum_params.hpp" -# include "boost/preprocessor/comma_if.hpp" +# include +# include +# include #endif namespace boost { diff --git a/include/boost/type_traits/detail/is_function_ptr_tester.hpp b/include/boost/type_traits/detail/is_function_ptr_tester.hpp index 8ccda30..80c0eb4 100644 --- a/include/boost/type_traits/detail/is_function_ptr_tester.hpp +++ b/include/boost/type_traits/detail/is_function_ptr_tester.hpp @@ -14,13 +14,13 @@ #ifndef BOOST_TT_DETAIL_IS_FUNCTION_PTR_TESTER_HPP_INCLUDED #define BOOST_TT_DETAIL_IS_FUNCTION_PTR_TESTER_HPP_INCLUDED -#include "boost/type_traits/detail/yes_no_type.hpp" -#include "boost/type_traits/config.hpp" +#include +#include #if defined(BOOST_TT_PREPROCESSING_MODE) -# include "boost/preprocessor/iterate.hpp" -# include "boost/preprocessor/enum_params.hpp" -# include "boost/preprocessor/comma_if.hpp" +# include +# include +# include #endif namespace boost { diff --git a/include/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp b/include/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp index a9f0f5e..4f75f14 100644 --- a/include/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp +++ b/include/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp @@ -14,12 +14,12 @@ #ifndef BOOST_TT_DETAIL_IS_MEM_FUN_POINTER_IMPL_HPP_INCLUDED #define BOOST_TT_DETAIL_IS_MEM_FUN_POINTER_IMPL_HPP_INCLUDED -#include "boost/config.hpp" +#include #if defined(BOOST_TT_PREPROCESSING_MODE) -# include "boost/preprocessor/iterate.hpp" -# include "boost/preprocessor/enum_params.hpp" -# include "boost/preprocessor/comma_if.hpp" +# include +# include +# include #endif namespace boost { diff --git a/include/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp b/include/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp index 5ce25fa..5f720bb 100644 --- a/include/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp +++ b/include/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp @@ -14,13 +14,13 @@ #ifndef BOOST_TT_DETAIL_IS_MEM_FUN_POINTER_TESTER_HPP_INCLUDED #define BOOST_TT_DETAIL_IS_MEM_FUN_POINTER_TESTER_HPP_INCLUDED -#include "boost/type_traits/detail/yes_no_type.hpp" -#include "boost/type_traits/config.hpp" +#include +#include #if defined(BOOST_TT_PREPROCESSING_MODE) -# include "boost/preprocessor/iterate.hpp" -# include "boost/preprocessor/enum_params.hpp" -# include "boost/preprocessor/comma_if.hpp" +# include +# include +# include #endif namespace boost { diff --git a/include/boost/type_traits/extent.hpp b/include/boost/type_traits/extent.hpp index 843ae97..196d826 100755 --- a/include/boost/type_traits/extent.hpp +++ b/include/boost/type_traits/extent.hpp @@ -11,7 +11,7 @@ #define BOOST_TT_EXTENT_HPP_INCLUDED // should be the last #include -#include "boost/type_traits/detail/size_t_trait_def.hpp" +#include namespace boost { @@ -129,6 +129,6 @@ struct extent } // namespace boost -#include "boost/type_traits/detail/size_t_trait_undef.hpp" +#include #endif // BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED diff --git a/include/boost/type_traits/has_nothrow_assign.hpp b/include/boost/type_traits/has_nothrow_assign.hpp index 2f52924..3cef735 100644 --- a/include/boost/type_traits/has_nothrow_assign.hpp +++ b/include/boost/type_traits/has_nothrow_assign.hpp @@ -9,10 +9,10 @@ #ifndef BOOST_TT_HAS_NOTHROW_ASSIGN_HPP_INCLUDED #define BOOST_TT_HAS_NOTHROW_ASSIGN_HPP_INCLUDED -#include "boost/type_traits/has_trivial_assign.hpp" +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -33,6 +33,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(has_nothrow_assign,T,::boost::detail::has_nothrow_a } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_HAS_NOTHROW_ASSIGN_HPP_INCLUDED diff --git a/include/boost/type_traits/has_nothrow_constructor.hpp b/include/boost/type_traits/has_nothrow_constructor.hpp index f3c7ce7..4f2cb36 100644 --- a/include/boost/type_traits/has_nothrow_constructor.hpp +++ b/include/boost/type_traits/has_nothrow_constructor.hpp @@ -9,10 +9,10 @@ #ifndef BOOST_TT_HAS_NOTHROW_CONSTRUCTOR_HPP_INCLUDED #define BOOST_TT_HAS_NOTHROW_CONSTRUCTOR_HPP_INCLUDED -#include "boost/type_traits/has_trivial_constructor.hpp" +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -33,6 +33,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(has_nothrow_constructor,T,::boost::detail::has_noth } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_HAS_NOTHROW_CONSTRUCTOR_HPP_INCLUDED diff --git a/include/boost/type_traits/has_nothrow_copy.hpp b/include/boost/type_traits/has_nothrow_copy.hpp index 5c83412..6a66c8b 100644 --- a/include/boost/type_traits/has_nothrow_copy.hpp +++ b/include/boost/type_traits/has_nothrow_copy.hpp @@ -9,10 +9,10 @@ #ifndef BOOST_TT_HAS_NOTHROW_COPY_HPP_INCLUDED #define BOOST_TT_HAS_NOTHROW_COPY_HPP_INCLUDED -#include "boost/type_traits/has_trivial_copy.hpp" +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -33,6 +33,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(has_nothrow_copy,T,::boost::detail::has_nothrow_cop } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_HAS_NOTHROW_COPY_HPP_INCLUDED diff --git a/include/boost/type_traits/has_nothrow_destructor.hpp b/include/boost/type_traits/has_nothrow_destructor.hpp index 8df6315..4f5882a 100644 --- a/include/boost/type_traits/has_nothrow_destructor.hpp +++ b/include/boost/type_traits/has_nothrow_destructor.hpp @@ -9,10 +9,10 @@ #ifndef BOOST_TT_HAS_NOTHROW_DESTRUCTOR_HPP_INCLUDED #define BOOST_TT_HAS_NOTHROW_DESTRUCTOR_HPP_INCLUDED -#include "boost/type_traits/has_trivial_destructor.hpp" +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -20,6 +20,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(has_nothrow_destructor,T,::boost::has_trivial_destr } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_HAS_NOTHROW_DESTRUCTOR_HPP_INCLUDED diff --git a/include/boost/type_traits/has_trivial_assign.hpp b/include/boost/type_traits/has_trivial_assign.hpp index d3ed0ff..4179e8d 100644 --- a/include/boost/type_traits/has_trivial_assign.hpp +++ b/include/boost/type_traits/has_trivial_assign.hpp @@ -9,17 +9,17 @@ #ifndef BOOST_TT_HAS_TRIVIAL_ASSIGN_HPP_INCLUDED #define BOOST_TT_HAS_TRIVIAL_ASSIGN_HPP_INCLUDED -#include "boost/type_traits/config.hpp" -#include "boost/type_traits/intrinsics.hpp" -#include "boost/type_traits/is_pod.hpp" -#include "boost/type_traits/is_const.hpp" -#include "boost/type_traits/is_volatile.hpp" -#include "boost/type_traits/detail/ice_and.hpp" -#include "boost/type_traits/detail/ice_or.hpp" -#include "boost/type_traits/detail/ice_not.hpp" +#include +#include +#include +#include +#include +#include +#include +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -45,6 +45,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(has_trivial_assign,T,::boost::detail::has_trivial_a } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_HAS_TRIVIAL_ASSIGN_HPP_INCLUDED diff --git a/include/boost/type_traits/has_trivial_constructor.hpp b/include/boost/type_traits/has_trivial_constructor.hpp index 5d1c3b6..5f9616d 100644 --- a/include/boost/type_traits/has_trivial_constructor.hpp +++ b/include/boost/type_traits/has_trivial_constructor.hpp @@ -9,13 +9,13 @@ #ifndef BOOST_TT_HAS_TRIVIAL_CONSTRUCTOR_HPP_INCLUDED #define BOOST_TT_HAS_TRIVIAL_CONSTRUCTOR_HPP_INCLUDED -#include "boost/type_traits/config.hpp" -#include "boost/type_traits/intrinsics.hpp" -#include "boost/type_traits/is_pod.hpp" -#include "boost/type_traits/detail/ice_or.hpp" +#include +#include +#include +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -37,6 +37,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(has_trivial_constructor,T,::boost::detail::has_triv } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_HAS_TRIVIAL_CONSTRUCTOR_HPP_INCLUDED diff --git a/include/boost/type_traits/has_trivial_copy.hpp b/include/boost/type_traits/has_trivial_copy.hpp index 76ebfcf..96b2148 100644 --- a/include/boost/type_traits/has_trivial_copy.hpp +++ b/include/boost/type_traits/has_trivial_copy.hpp @@ -9,16 +9,16 @@ #ifndef BOOST_TT_HAS_TRIVIAL_COPY_HPP_INCLUDED #define BOOST_TT_HAS_TRIVIAL_COPY_HPP_INCLUDED -#include "boost/type_traits/config.hpp" -#include "boost/type_traits/intrinsics.hpp" -#include "boost/type_traits/is_volatile.hpp" -#include "boost/type_traits/is_pod.hpp" -#include "boost/type_traits/detail/ice_and.hpp" -#include "boost/type_traits/detail/ice_or.hpp" -#include "boost/type_traits/detail/ice_not.hpp" +#include +#include +#include +#include +#include +#include +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -43,6 +43,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(has_trivial_copy,T,::boost::detail::has_trivial_cop } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_HAS_TRIVIAL_COPY_HPP_INCLUDED diff --git a/include/boost/type_traits/has_trivial_destructor.hpp b/include/boost/type_traits/has_trivial_destructor.hpp index 257b327..f2a8ce6 100644 --- a/include/boost/type_traits/has_trivial_destructor.hpp +++ b/include/boost/type_traits/has_trivial_destructor.hpp @@ -9,13 +9,13 @@ #ifndef BOOST_TT_HAS_TRIVIAL_DESTRUCTOR_HPP_INCLUDED #define BOOST_TT_HAS_TRIVIAL_DESTRUCTOR_HPP_INCLUDED -#include "boost/type_traits/config.hpp" -#include "boost/type_traits/intrinsics.hpp" -#include "boost/type_traits/is_pod.hpp" -#include "boost/type_traits/detail/ice_or.hpp" +#include +#include +#include +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -37,6 +37,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(has_trivial_destructor,T,::boost::detail::has_trivi } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_HAS_TRIVIAL_DESTRUCTOR_HPP_INCLUDED diff --git a/include/boost/type_traits/has_virtual_destructor.hpp b/include/boost/type_traits/has_virtual_destructor.hpp index 4d15704..8f99ff4 100755 --- a/include/boost/type_traits/has_virtual_destructor.hpp +++ b/include/boost/type_traits/has_virtual_destructor.hpp @@ -12,7 +12,7 @@ #include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -20,6 +20,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(has_virtual_destructor,T,BOOST_HAS_VIRTUAL_DESTRUCT } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED diff --git a/include/boost/type_traits/ice.hpp b/include/boost/type_traits/ice.hpp index 2ba0816..134bc4b 100644 --- a/include/boost/type_traits/ice.hpp +++ b/include/boost/type_traits/ice.hpp @@ -11,10 +11,10 @@ #ifndef BOOST_TT_ICE_HPP_INCLUDED #define BOOST_TT_ICE_HPP_INCLUDED -#include "boost/type_traits/detail/yes_no_type.hpp" -#include "boost/type_traits/detail/ice_or.hpp" -#include "boost/type_traits/detail/ice_and.hpp" -#include "boost/type_traits/detail/ice_not.hpp" -#include "boost/type_traits/detail/ice_eq.hpp" +#include +#include +#include +#include +#include #endif // BOOST_TT_ICE_HPP_INCLUDED diff --git a/include/boost/type_traits/intrinsics.hpp b/include/boost/type_traits/intrinsics.hpp index f993613..43bb3ce 100644 --- a/include/boost/type_traits/intrinsics.hpp +++ b/include/boost/type_traits/intrinsics.hpp @@ -10,7 +10,7 @@ #define BOOST_TT_INTRINSICS_HPP_INCLUDED #ifndef BOOST_TT_CONFIG_HPP_INCLUDED -#include "boost/type_traits/config.hpp" +#include #endif // @@ -35,8 +35,15 @@ #ifdef BOOST_HAS_SGI_TYPE_TRAITS // Hook into SGI's __type_traits class, this will pick up user supplied // specializations as well as SGI - compiler supplied specializations. -# include "boost/type_traits/is_same.hpp" -# include +# include +# ifdef __NetBSD__ + // There are two different versions of type_traits.h on NetBSD on Spark + // use an implicit include via algorithm instead, to make sure we get + // the same version as the std lib: +# include +# else +# include +# endif # define BOOST_IS_POD(T) ::boost::is_same< typename ::__type_traits::is_POD_type, ::__true_type>::value # define BOOST_HAS_TRIVIAL_CONSTRUCTOR(T) ::boost::is_same< typename ::__type_traits::has_trivial_default_constructor, ::__true_type>::value # define BOOST_HAS_TRIVIAL_COPY(T) ::boost::is_same< typename ::__type_traits::has_trivial_copy_constructor, ::__true_type>::value diff --git a/include/boost/type_traits/is_abstract.hpp b/include/boost/type_traits/is_abstract.hpp index 4f9b791..b6d640c 100755 --- a/include/boost/type_traits/is_abstract.hpp +++ b/include/boost/type_traits/is_abstract.hpp @@ -51,12 +51,12 @@ #include #include #include -#include "boost/type_traits/detail/ice_and.hpp" +#include #ifdef BOOST_NO_IS_ABSTRACT #include #endif // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -132,6 +132,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_abstract,T,::boost::detail::is_polymorphic_imp #endif //BOOST_TT_IS_ABSTRACT_CLASS_HPP diff --git a/include/boost/type_traits/is_arithmetic.hpp b/include/boost/type_traits/is_arithmetic.hpp index ec57661..be881c5 100644 --- a/include/boost/type_traits/is_arithmetic.hpp +++ b/include/boost/type_traits/is_arithmetic.hpp @@ -9,13 +9,13 @@ #ifndef BOOST_TT_IS_ARITHMETIC_HPP_INCLUDED #define BOOST_TT_IS_ARITHMETIC_HPP_INCLUDED -#include "boost/type_traits/is_integral.hpp" -#include "boost/type_traits/is_float.hpp" -#include "boost/type_traits/detail/ice_or.hpp" -#include "boost/config.hpp" +#include +#include +#include +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -38,6 +38,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_arithmetic,T,::boost::detail::is_arithmetic_impl } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_ARITHMETIC_HPP_INCLUDED diff --git a/include/boost/type_traits/is_array.hpp b/include/boost/type_traits/is_array.hpp index a3ec8e4..24a2a90 100644 --- a/include/boost/type_traits/is_array.hpp +++ b/include/boost/type_traits/is_array.hpp @@ -14,17 +14,17 @@ #ifndef BOOST_TT_IS_ARRAY_HPP_INCLUDED #define BOOST_TT_IS_ARRAY_HPP_INCLUDED -#include "boost/type_traits/config.hpp" +#include #ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION -# include "boost/type_traits/detail/yes_no_type.hpp" -# include "boost/type_traits/detail/wrap.hpp" +# include +# include #endif #include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -85,6 +85,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_array,T,::boost::detail::is_array_impl::value } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_ARRAY_HPP_INCLUDED diff --git a/include/boost/type_traits/is_base_and_derived.hpp b/include/boost/type_traits/is_base_and_derived.hpp index cf420d8..af986db 100644 --- a/include/boost/type_traits/is_base_and_derived.hpp +++ b/include/boost/type_traits/is_base_and_derived.hpp @@ -9,15 +9,15 @@ #ifndef BOOST_TT_IS_BASE_AND_DERIVED_HPP_INCLUDED #define BOOST_TT_IS_BASE_AND_DERIVED_HPP_INCLUDED -#include "boost/type_traits/is_class.hpp" -#include "boost/type_traits/is_same.hpp" -#include "boost/type_traits/is_convertible.hpp" -#include "boost/type_traits/detail/ice_and.hpp" -#include "boost/type_traits/remove_cv.hpp" -#include "boost/config.hpp" +#include +#include +#include +#include +#include +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -217,6 +217,6 @@ BOOST_TT_AUX_BOOL_TRAIT_PARTIAL_SPEC2_2(typename Base,typename Derived,is_base_a } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_BASE_AND_DERIVED_HPP_INCLUDED diff --git a/include/boost/type_traits/is_base_of.hpp b/include/boost/type_traits/is_base_of.hpp index a02a15f..bdff7a4 100755 --- a/include/boost/type_traits/is_base_of.hpp +++ b/include/boost/type_traits/is_base_of.hpp @@ -9,10 +9,10 @@ #ifndef BOOST_TT_IS_BASE_OF_HPP_INCLUDED #define BOOST_TT_IS_BASE_OF_HPP_INCLUDED -#include "boost/type_traits/is_base_and_derived.hpp" +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -31,6 +31,6 @@ BOOST_TT_AUX_BOOL_TRAIT_PARTIAL_SPEC2_2(typename Base,typename Derived,is_base_o } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_BASE_AND_DERIVED_HPP_INCLUDED diff --git a/include/boost/type_traits/is_class.hpp b/include/boost/type_traits/is_class.hpp index 038c666..6a12a9e 100644 --- a/include/boost/type_traits/is_class.hpp +++ b/include/boost/type_traits/is_class.hpp @@ -10,27 +10,27 @@ #ifndef BOOST_TT_IS_CLASS_HPP_INCLUDED #define BOOST_TT_IS_CLASS_HPP_INCLUDED -#include "boost/type_traits/config.hpp" -# include "boost/type_traits/is_union.hpp" -# include "boost/type_traits/detail/ice_and.hpp" -# include "boost/type_traits/detail/ice_not.hpp" +#include +# include +# include +# include #ifdef BOOST_TT_HAS_CONFORMING_IS_CLASS_IMPLEMENTATION -# include "boost/type_traits/detail/yes_no_type.hpp" +# include #else -# include "boost/type_traits/is_scalar.hpp" -# include "boost/type_traits/is_array.hpp" -# include "boost/type_traits/is_reference.hpp" -# include "boost/type_traits/is_void.hpp" -# include "boost/type_traits/is_function.hpp" +# include +# include +# include +# include +# include #endif #ifdef __EDG_VERSION__ -# include "boost/type_traits/remove_cv.hpp" +# include #endif // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -123,6 +123,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_class,T,::boost::detail::is_class_impl::value } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_CLASS_HPP_INCLUDED diff --git a/include/boost/type_traits/is_compound.hpp b/include/boost/type_traits/is_compound.hpp index 7d562fc..01c38a7 100644 --- a/include/boost/type_traits/is_compound.hpp +++ b/include/boost/type_traits/is_compound.hpp @@ -9,12 +9,12 @@ #ifndef BOOST_TT_IS_COMPOUND_HPP_INCLUDED #define BOOST_TT_IS_COMPOUND_HPP_INCLUDED -#include "boost/config.hpp" -#include "boost/type_traits/is_fundamental.hpp" -#include "boost/type_traits/detail/ice_not.hpp" +#include +#include +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -35,6 +35,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_compound,T,::boost::detail::is_compound_impl: } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_COMPOUND_HPP_INCLUDED diff --git a/include/boost/type_traits/is_const.hpp b/include/boost/type_traits/is_const.hpp index 9e571aa..138bd5b 100644 --- a/include/boost/type_traits/is_const.hpp +++ b/include/boost/type_traits/is_const.hpp @@ -21,22 +21,22 @@ #ifndef BOOST_TT_IS_CONST_HPP_INCLUDED #define BOOST_TT_IS_CONST_HPP_INCLUDED -#include "boost/config.hpp" +#include #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION -# include "boost/type_traits/detail/cv_traits_impl.hpp" +# include # ifdef __GNUC__ # include # endif #else -# include "boost/type_traits/is_reference.hpp" -# include "boost/type_traits/is_array.hpp" -# include "boost/type_traits/detail/yes_no_type.hpp" -# include "boost/type_traits/detail/false_result.hpp" +# include +# include +# include +# include #endif // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -128,7 +128,7 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_const,T,::boost::detail::is_const_impl::value } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_CONST_HPP_INCLUDED diff --git a/include/boost/type_traits/is_convertible.hpp b/include/boost/type_traits/is_convertible.hpp index 5b62877..c69defa 100644 --- a/include/boost/type_traits/is_convertible.hpp +++ b/include/boost/type_traits/is_convertible.hpp @@ -12,22 +12,22 @@ #ifndef BOOST_TT_IS_CONVERTIBLE_HPP_INCLUDED #define BOOST_TT_IS_CONVERTIBLE_HPP_INCLUDED -#include "boost/type_traits/detail/yes_no_type.hpp" -#include "boost/type_traits/config.hpp" -#include "boost/type_traits/is_array.hpp" -#include "boost/type_traits/add_reference.hpp" -#include "boost/type_traits/ice.hpp" -#include "boost/type_traits/is_arithmetic.hpp" +#include +#include +#include +#include +#include +#include #ifndef BOOST_NO_IS_ABSTRACT -#include "boost/type_traits/is_abstract.hpp" +#include #endif #if defined(BOOST_MSVC) && (BOOST_MSVC <= 1300) -# include "boost/type_traits/is_void.hpp" +# include #endif // should be always the last #include directive -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -198,10 +198,16 @@ struct is_convertible_basic_impl static ::boost::type_traits::no_type BOOST_TT_DECL _m_check(...); static ::boost::type_traits::yes_type BOOST_TT_DECL _m_check(To); static From _m_from; - +#ifdef BOOST_MSVC +#pragma warning(push) +#pragma warning(disable:4244) +#endif BOOST_STATIC_CONSTANT(bool, value = sizeof( _m_check(_m_from) ) == sizeof(::boost::type_traits::yes_type) ); +#ifdef BOOST_MSVC +#pragma warning(pop) +#endif }; #endif // is_convertible_impl @@ -349,6 +355,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF2(is_convertible,From,To,(::boost::detail::is_convert } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_CONVERTIBLE_HPP_INCLUDED diff --git a/include/boost/type_traits/is_empty.hpp b/include/boost/type_traits/is_empty.hpp index 7d2f364..eeeee57 100644 --- a/include/boost/type_traits/is_empty.hpp +++ b/include/boost/type_traits/is_empty.hpp @@ -9,27 +9,27 @@ #ifndef BOOST_TT_IS_EMPTY_HPP_INCLUDED #define BOOST_TT_IS_EMPTY_HPP_INCLUDED -#include "boost/type_traits/is_convertible.hpp" -#include "boost/type_traits/detail/ice_or.hpp" -#include "boost/type_traits/config.hpp" -#include "boost/type_traits/intrinsics.hpp" +#include +#include +#include +#include #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION -# include "boost/type_traits/remove_cv.hpp" -# include "boost/type_traits/is_class.hpp" -# include "boost/type_traits/add_reference.hpp" +# include +# include +# include #else -# include "boost/type_traits/is_reference.hpp" -# include "boost/type_traits/is_pointer.hpp" -# include "boost/type_traits/is_member_pointer.hpp" -# include "boost/type_traits/is_array.hpp" -# include "boost/type_traits/is_void.hpp" -# include "boost/type_traits/detail/ice_and.hpp" -# include "boost/type_traits/detail/ice_not.hpp" +# include +# include +# include +# include +# include +# include +# include #endif // should be always the last #include directive -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -41,6 +41,10 @@ struct empty_helper_t1 : public T { empty_helper_t1(); // hh compiler bug workaround int i[256]; +private: + // suppress compiler warnings: + empty_helper_t1(const empty_helper_t1&); + empty_helper_t1 operator=(const empty_helper_t1&); }; struct empty_helper_t2 { int i[256]; }; @@ -201,7 +205,7 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_empty,T,::boost::detail::is_empty_impl::value } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_EMPTY_HPP_INCLUDED diff --git a/include/boost/type_traits/is_enum.hpp b/include/boost/type_traits/is_enum.hpp index 5701900..ce74a03 100644 --- a/include/boost/type_traits/is_enum.hpp +++ b/include/boost/type_traits/is_enum.hpp @@ -11,15 +11,15 @@ #ifndef BOOST_TT_IS_ENUM_HPP_INCLUDED #define BOOST_TT_IS_ENUM_HPP_INCLUDED -#include "boost/type_traits/add_reference.hpp" -#include "boost/type_traits/is_arithmetic.hpp" -#include "boost/type_traits/is_reference.hpp" -#include "boost/type_traits/is_convertible.hpp" -#include "boost/type_traits/is_array.hpp" +#include +#include +#include +#include +#include #ifdef __GNUC__ #include #endif -#include "boost/type_traits/config.hpp" +#include #if defined(BOOST_TT_HAS_CONFORMING_IS_CLASS_IMPLEMENTATION) # include # include @@ -27,7 +27,7 @@ // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -175,6 +175,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_enum,T,false) } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_ENUM_HPP_INCLUDED diff --git a/include/boost/type_traits/is_float.hpp b/include/boost/type_traits/is_float.hpp index 349608e..25d16f1 100644 --- a/include/boost/type_traits/is_float.hpp +++ b/include/boost/type_traits/is_float.hpp @@ -10,7 +10,7 @@ #define BOOST_TYPE_TRAITS_IS_FLOAT_HPP_INCLUDED // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -22,6 +22,6 @@ BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_float,long double,true) } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TYPE_TRAITS_IS_FLOAT_HPP_INCLUDED diff --git a/include/boost/type_traits/is_floating_point.hpp b/include/boost/type_traits/is_floating_point.hpp index eec7c85..2224453 100755 --- a/include/boost/type_traits/is_floating_point.hpp +++ b/include/boost/type_traits/is_floating_point.hpp @@ -10,7 +10,7 @@ #define BOOST_TYPE_TRAITS_IS_FLOATING_HPP_INCLUDED // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -22,6 +22,6 @@ BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_floating_point,long double,true) } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TYPE_TRAITS_IS_FLOAT_HPP_INCLUDED diff --git a/include/boost/type_traits/is_function.hpp b/include/boost/type_traits/is_function.hpp index ecb0b5d..8fd2c9e 100644 --- a/include/boost/type_traits/is_function.hpp +++ b/include/boost/type_traits/is_function.hpp @@ -11,19 +11,19 @@ #ifndef BOOST_TT_IS_FUNCTION_HPP_INCLUDED #define BOOST_TT_IS_FUNCTION_HPP_INCLUDED -#include "boost/type_traits/is_reference.hpp" -#include "boost/type_traits/detail/false_result.hpp" -#include "boost/config.hpp" +#include +#include +#include #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(BOOST_TT_TEST_MS_FUNC_SIGS) -# include "boost/type_traits/detail/is_function_ptr_helper.hpp" +# include #else -# include "boost/type_traits/detail/is_function_ptr_tester.hpp" -# include "boost/type_traits/detail/yes_no_type.hpp" +# include +# include #endif // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include // is a type a function? // Please note that this implementation is unnecessarily complex: @@ -83,6 +83,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_function,T,::boost::detail::is_function_impl: } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_FUNCTION_HPP_INCLUDED diff --git a/include/boost/type_traits/is_fundamental.hpp b/include/boost/type_traits/is_fundamental.hpp index e21e8a6..e163ba9 100644 --- a/include/boost/type_traits/is_fundamental.hpp +++ b/include/boost/type_traits/is_fundamental.hpp @@ -9,12 +9,12 @@ #ifndef BOOST_TT_IS_FUNDAMENTAL_HPP_INCLUDED #define BOOST_TT_IS_FUNDAMENTAL_HPP_INCLUDED -#include "boost/type_traits/is_arithmetic.hpp" -#include "boost/type_traits/is_void.hpp" -#include "boost/type_traits/detail/ice_or.hpp" +#include +#include +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -36,6 +36,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_fundamental,T,::boost::detail::is_fundamental_im } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_FUNDAMENTAL_HPP_INCLUDED diff --git a/include/boost/type_traits/is_integral.hpp b/include/boost/type_traits/is_integral.hpp index ac158d5..b6ca6c7 100644 --- a/include/boost/type_traits/is_integral.hpp +++ b/include/boost/type_traits/is_integral.hpp @@ -9,10 +9,10 @@ #ifndef BOOST_TT_IS_INTEGRAL_HPP_INCLUDED #define BOOST_TT_IS_INTEGRAL_HPP_INCLUDED -#include "boost/config.hpp" +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -66,6 +66,6 @@ BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_integral,__int64,true) } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_INTEGRAL_HPP_INCLUDED diff --git a/include/boost/type_traits/is_member_function_pointer.hpp b/include/boost/type_traits/is_member_function_pointer.hpp index 1cba5bf..edfc5ad 100644 --- a/include/boost/type_traits/is_member_function_pointer.hpp +++ b/include/boost/type_traits/is_member_function_pointer.hpp @@ -11,8 +11,8 @@ #ifndef BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED #define BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED -#include "boost/type_traits/config.hpp" -#include "boost/detail/workaround.hpp" +#include +#include #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \ && !BOOST_WORKAROUND(__BORLANDC__, < 0x600) && !defined(BOOST_TT_TEST_MS_FUNC_SIGS) @@ -21,18 +21,18 @@ // __stdcall etc function types, where as the partial specialisation // version does not do so. // -# include "boost/type_traits/detail/is_mem_fun_pointer_impl.hpp" +# include #else -# include "boost/type_traits/is_reference.hpp" -# include "boost/type_traits/is_array.hpp" -# include "boost/type_traits/detail/yes_no_type.hpp" -# include "boost/type_traits/detail/false_result.hpp" -# include "boost/type_traits/detail/ice_or.hpp" -# include "boost/type_traits/detail/is_mem_fun_pointer_tester.hpp" +# include +# include +# include +# include +# include +# include #endif // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -121,6 +121,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_member_function_pointer,T,::boost::detail::is_me } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED diff --git a/include/boost/type_traits/is_member_object_pointer.hpp b/include/boost/type_traits/is_member_object_pointer.hpp index b1e8bf2..66b76c9 100755 --- a/include/boost/type_traits/is_member_object_pointer.hpp +++ b/include/boost/type_traits/is_member_object_pointer.hpp @@ -10,14 +10,14 @@ #ifndef BOOST_TT_IS_MEMBER_OBJECT_POINTER_HPP_INCLUDED #define BOOST_TT_IS_MEMBER_OBJECT_POINTER_HPP_INCLUDED -#include "boost/type_traits/config.hpp" -#include "boost/type_traits/is_member_pointer.hpp" -#include "boost/type_traits/is_member_function_pointer.hpp" -#include "boost/type_traits/detail/ice_and.hpp" -#include "boost/type_traits/detail/ice_not.hpp" +#include +#include +#include +#include +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -41,6 +41,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_member_object_pointer,T,::boost::detail::is_memb } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED diff --git a/include/boost/type_traits/is_member_pointer.hpp b/include/boost/type_traits/is_member_pointer.hpp index 2a77c6d..73300d3 100644 --- a/include/boost/type_traits/is_member_pointer.hpp +++ b/include/boost/type_traits/is_member_pointer.hpp @@ -21,22 +21,22 @@ #ifndef BOOST_TT_IS_MEMBER_POINTER_HPP_INCLUDED #define BOOST_TT_IS_MEMBER_POINTER_HPP_INCLUDED -#include "boost/type_traits/config.hpp" -#include "boost/detail/workaround.hpp" +#include +#include #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !BOOST_WORKAROUND(__BORLANDC__, < 0x600) -# include "boost/type_traits/is_member_function_pointer.hpp" +# include #else -# include "boost/type_traits/is_reference.hpp" -# include "boost/type_traits/is_array.hpp" -# include "boost/type_traits/detail/is_mem_fun_pointer_tester.hpp" -# include "boost/type_traits/detail/yes_no_type.hpp" -# include "boost/type_traits/detail/false_result.hpp" -# include "boost/type_traits/detail/ice_or.hpp" +# include +# include +# include +# include +# include +# include #endif // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -103,6 +103,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_member_pointer,T,::boost::detail::is_member_poin } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_MEMBER_POINTER_HPP_INCLUDED diff --git a/include/boost/type_traits/is_object.hpp b/include/boost/type_traits/is_object.hpp index 59079a5..3decbf8 100644 --- a/include/boost/type_traits/is_object.hpp +++ b/include/boost/type_traits/is_object.hpp @@ -9,15 +9,15 @@ #ifndef BOOST_TT_IS_OBJECT_HPP_INCLUDED #define BOOST_TT_IS_OBJECT_HPP_INCLUDED -#include "boost/type_traits/is_reference.hpp" -#include "boost/type_traits/is_void.hpp" -#include "boost/type_traits/is_function.hpp" -#include "boost/type_traits/detail/ice_and.hpp" -#include "boost/type_traits/detail/ice_not.hpp" -#include "boost/config.hpp" +#include +#include +#include +#include +#include +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -48,6 +48,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_object,T,::boost::detail::is_object_impl::val } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_OBJECT_HPP_INCLUDED diff --git a/include/boost/type_traits/is_pod.hpp b/include/boost/type_traits/is_pod.hpp index e674367..af2c3c4 100644 --- a/include/boost/type_traits/is_pod.hpp +++ b/include/boost/type_traits/is_pod.hpp @@ -9,16 +9,16 @@ #ifndef BOOST_TT_IS_POD_HPP_INCLUDED #define BOOST_TT_IS_POD_HPP_INCLUDED -#include "boost/type_traits/config.hpp" -#include "boost/type_traits/is_void.hpp" -#include "boost/type_traits/is_scalar.hpp" -#include "boost/type_traits/detail/ice_or.hpp" -#include "boost/type_traits/intrinsics.hpp" +#include +#include +#include +#include +#include #include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -130,6 +130,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_pod,T,::boost::detail::is_pod_impl::value) } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_POD_HPP_INCLUDED diff --git a/include/boost/type_traits/is_pointer.hpp b/include/boost/type_traits/is_pointer.hpp index 0f981c0..8c15545 100644 --- a/include/boost/type_traits/is_pointer.hpp +++ b/include/boost/type_traits/is_pointer.hpp @@ -21,21 +21,21 @@ #ifndef BOOST_TT_IS_POINTER_HPP_INCLUDED #define BOOST_TT_IS_POINTER_HPP_INCLUDED -#include "boost/type_traits/is_member_pointer.hpp" -#include "boost/type_traits/detail/ice_and.hpp" -#include "boost/type_traits/detail/ice_not.hpp" -#include "boost/type_traits/config.hpp" +#include +#include +#include +#include #ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION -# include "boost/type_traits/is_reference.hpp" -# include "boost/type_traits/is_array.hpp" -# include "boost/type_traits/detail/is_function_ptr_tester.hpp" -# include "boost/type_traits/detail/false_result.hpp" -# include "boost/type_traits/detail/ice_or.hpp" +# include +# include +# include +# include +# include #endif // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -144,6 +144,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_pointer,T,::boost::detail::is_pointer_impl::v } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_POINTER_HPP_INCLUDED diff --git a/include/boost/type_traits/is_polymorphic.hpp b/include/boost/type_traits/is_polymorphic.hpp index afba32b..c312622 100644 --- a/include/boost/type_traits/is_polymorphic.hpp +++ b/include/boost/type_traits/is_polymorphic.hpp @@ -11,7 +11,7 @@ #include #include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include #include namespace boost{ @@ -31,6 +31,10 @@ struct is_polymorphic_imp1 ~d1()throw(); # endif char padding[256]; + private: + // keep some picky compilers happy: + d1(const d1&); + d1& operator=(const d1&); }; struct d2 : public ncvT { @@ -43,6 +47,10 @@ struct is_polymorphic_imp1 virtual void unique_name_to_boost5487629(unique*); # endif char padding[256]; + private: + // keep some picky compilers happy: + d2(const d2&); + d2& operator=(const d2&); }; # endif BOOST_STATIC_CONSTANT(bool, value = (sizeof(d2) == sizeof(d1))); @@ -89,6 +97,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_polymorphic,T,::boost::detail::is_polymorphic_im } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif diff --git a/include/boost/type_traits/is_reference.hpp b/include/boost/type_traits/is_reference.hpp index 3655373..8c7b195 100644 --- a/include/boost/type_traits/is_reference.hpp +++ b/include/boost/type_traits/is_reference.hpp @@ -21,15 +21,15 @@ #ifndef BOOST_TT_IS_REFERENCE_HPP_INCLUDED #define BOOST_TT_IS_REFERENCE_HPP_INCLUDED -#include "boost/type_traits/config.hpp" +#include #ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION -# include "boost/type_traits/detail/yes_no_type.hpp" -# include "boost/type_traits/detail/wrap.hpp" +# include +# include #endif // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -110,7 +110,7 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_reference,T,::boost::detail::is_reference_impl #endif // BOOST_TT_IS_REFERENCE_HPP_INCLUDED diff --git a/include/boost/type_traits/is_same.hpp b/include/boost/type_traits/is_same.hpp index ae5e51e..e0d1808 100644 --- a/include/boost/type_traits/is_same.hpp +++ b/include/boost/type_traits/is_same.hpp @@ -21,14 +21,14 @@ #ifndef BOOST_TT_IS_SAME_HPP_INCLUDED #define BOOST_TT_IS_SAME_HPP_INCLUDED -#include "boost/type_traits/config.hpp" +#include #ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION -#include "boost/type_traits/detail/yes_no_type.hpp" -#include "boost/type_traits/detail/ice_and.hpp" -#include "boost/type_traits/is_reference.hpp" +#include +#include +#include #endif // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -97,7 +97,7 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF2(is_same,T,U,(::boost::detail::is_same_impl::va } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_SAME_HPP_INCLUDED diff --git a/include/boost/type_traits/is_scalar.hpp b/include/boost/type_traits/is_scalar.hpp index 24f42a0..4af3def 100644 --- a/include/boost/type_traits/is_scalar.hpp +++ b/include/boost/type_traits/is_scalar.hpp @@ -9,15 +9,15 @@ #ifndef BOOST_TT_IS_SCALAR_HPP_INCLUDED #define BOOST_TT_IS_SCALAR_HPP_INCLUDED -#include "boost/type_traits/is_arithmetic.hpp" -#include "boost/type_traits/is_enum.hpp" -#include "boost/type_traits/is_pointer.hpp" -#include "boost/type_traits/is_member_pointer.hpp" -#include "boost/type_traits/detail/ice_or.hpp" -#include "boost/config.hpp" +#include +#include +#include +#include +#include +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -50,6 +50,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_scalar,T,::boost::detail::is_scalar_impl::val } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_SCALAR_HPP_INCLUDED diff --git a/include/boost/type_traits/is_signed.hpp b/include/boost/type_traits/is_signed.hpp index a5be06d..9c780b5 100755 --- a/include/boost/type_traits/is_signed.hpp +++ b/include/boost/type_traits/is_signed.hpp @@ -10,12 +10,12 @@ #ifndef BOOST_TT_IS_SIGNED_HPP_INCLUDED #define BOOST_TT_IS_SIGNED_HPP_INCLUDED -#include "boost/type_traits/is_integral.hpp" -#include "boost/type_traits/is_enum.hpp" -#include "boost/type_traits/detail/ice_or.hpp" +#include +#include +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -112,6 +112,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_signed,T,::boost::detail::is_signed_imp::valu } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED diff --git a/include/boost/type_traits/is_stateless.hpp b/include/boost/type_traits/is_stateless.hpp index 30f6032..d8d4063 100644 --- a/include/boost/type_traits/is_stateless.hpp +++ b/include/boost/type_traits/is_stateless.hpp @@ -9,16 +9,16 @@ #ifndef BOOST_TT_IS_STATELESS_HPP_INCLUDED #define BOOST_TT_IS_STATELESS_HPP_INCLUDED -#include "boost/type_traits/has_trivial_constructor.hpp" -#include "boost/type_traits/has_trivial_copy.hpp" -#include "boost/type_traits/has_trivial_destructor.hpp" -#include "boost/type_traits/is_class.hpp" -#include "boost/type_traits/is_empty.hpp" -#include "boost/type_traits/detail/ice_and.hpp" -#include "boost/config.hpp" +#include +#include +#include +#include +#include +#include +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -43,6 +43,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_stateless,T,::boost::detail::is_stateless_impl #endif // BOOST_TT_IS_STATELESS_HPP_INCLUDED diff --git a/include/boost/type_traits/is_union.hpp b/include/boost/type_traits/is_union.hpp index 4a444ec..25bddcc 100644 --- a/include/boost/type_traits/is_union.hpp +++ b/include/boost/type_traits/is_union.hpp @@ -11,12 +11,12 @@ #ifndef BOOST_TT_IS_UNION_HPP_INCLUDED #define BOOST_TT_IS_UNION_HPP_INCLUDED -#include "boost/type_traits/remove_cv.hpp" -#include "boost/type_traits/config.hpp" -#include "boost/type_traits/intrinsics.hpp" +#include +#include +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -44,6 +44,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_union,T,::boost::detail::is_union_impl::value } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_UNION_HPP_INCLUDED diff --git a/include/boost/type_traits/is_unsigned.hpp b/include/boost/type_traits/is_unsigned.hpp index 68fb230..7a9f891 100755 --- a/include/boost/type_traits/is_unsigned.hpp +++ b/include/boost/type_traits/is_unsigned.hpp @@ -10,12 +10,12 @@ #ifndef BOOST_TT_IS_UNSIGNED_HPP_INCLUDED #define BOOST_TT_IS_UNSIGNED_HPP_INCLUDED -#include "boost/type_traits/is_integral.hpp" -#include "boost/type_traits/is_enum.hpp" -#include "boost/type_traits/detail/ice_or.hpp" +#include +#include +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -109,6 +109,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_unsigned,T,::boost::detail::is_unsigned_imp:: } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED diff --git a/include/boost/type_traits/is_void.hpp b/include/boost/type_traits/is_void.hpp index 00abd0a..ca51b54 100644 --- a/include/boost/type_traits/is_void.hpp +++ b/include/boost/type_traits/is_void.hpp @@ -9,10 +9,10 @@ #ifndef BOOST_TT_IS_VOID_HPP_INCLUDED #define BOOST_TT_IS_VOID_HPP_INCLUDED -#include "boost/config.hpp" +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -28,6 +28,6 @@ BOOST_TT_AUX_BOOL_TRAIT_SPEC1(is_void,void const volatile,true) } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_VOID_HPP_INCLUDED diff --git a/include/boost/type_traits/is_volatile.hpp b/include/boost/type_traits/is_volatile.hpp index 1d2b1fe..4df8b7f 100644 --- a/include/boost/type_traits/is_volatile.hpp +++ b/include/boost/type_traits/is_volatile.hpp @@ -21,19 +21,19 @@ #ifndef BOOST_TT_IS_VOLATILE_HPP_INCLUDED #define BOOST_TT_IS_VOLATILE_HPP_INCLUDED -#include "boost/config.hpp" +#include #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION -# include "boost/type_traits/detail/cv_traits_impl.hpp" +# include #else -# include "boost/type_traits/is_reference.hpp" -# include "boost/type_traits/is_array.hpp" -# include "boost/type_traits/detail/yes_no_type.hpp" -# include "boost/type_traits/detail/false_result.hpp" +# include +# include +# include +# include #endif // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { @@ -118,6 +118,6 @@ BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_volatile,T,::boost::detail::is_volatile_impl: } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_VOLATILE_HPP_INCLUDED diff --git a/include/boost/type_traits/object_traits.hpp b/include/boost/type_traits/object_traits.hpp index cefdd39..c812a62 100644 --- a/include/boost/type_traits/object_traits.hpp +++ b/include/boost/type_traits/object_traits.hpp @@ -14,20 +14,20 @@ #ifndef BOOST_TT_OBJECT_TRAITS_HPP_INLCUDED #define BOOST_TT_OBJECT_TRAITS_HPP_INLCUDED -#include "boost/type_traits/has_trivial_assign.hpp" -#include "boost/type_traits/has_trivial_constructor.hpp" -#include "boost/type_traits/has_trivial_copy.hpp" -#include "boost/type_traits/has_trivial_destructor.hpp" -#include "boost/type_traits/has_nothrow_constructor.hpp" -#include "boost/type_traits/has_nothrow_copy.hpp" -#include "boost/type_traits/has_nothrow_assign.hpp" -#include "boost/type_traits/is_base_and_derived.hpp" -#include "boost/type_traits/is_class.hpp" -#include "boost/type_traits/is_compound.hpp" -#include "boost/type_traits/is_empty.hpp" -#include "boost/type_traits/is_object.hpp" -#include "boost/type_traits/is_pod.hpp" -#include "boost/type_traits/is_scalar.hpp" -#include "boost/type_traits/is_stateless.hpp" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #endif // BOOST_TT_OBJECT_TRAITS_HPP_INLCUDED diff --git a/include/boost/type_traits/rank.hpp b/include/boost/type_traits/rank.hpp index 43b428d..4209d2d 100755 --- a/include/boost/type_traits/rank.hpp +++ b/include/boost/type_traits/rank.hpp @@ -11,7 +11,7 @@ #define BOOST_TT_RANK_HPP_INCLUDED // should be the last #include -#include "boost/type_traits/detail/size_t_trait_def.hpp" +#include namespace boost { @@ -76,6 +76,6 @@ BOOST_TT_AUX_SIZE_T_TRAIT_DEF1(rank,T,(::boost::detail::rank_imp::value)) } // namespace boost -#include "boost/type_traits/detail/size_t_trait_undef.hpp" +#include #endif // BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED diff --git a/include/boost/type_traits/reference_traits.hpp b/include/boost/type_traits/reference_traits.hpp index 8589492..1607b3d 100644 --- a/include/boost/type_traits/reference_traits.hpp +++ b/include/boost/type_traits/reference_traits.hpp @@ -10,6 +10,6 @@ #ifndef BOOST_TT_REFERENCE_TRAITS_HPP_INCLUDED #define BOOST_TT_REFERENCE_TRAITS_HPP_INCLUDED -#include "boost/type_traits/is_reference.hpp" +#include #endif // BOOST_TT_REFERENCE_TRAITS_HPP_INCLUDED diff --git a/include/boost/type_traits/remove_all_extents.hpp b/include/boost/type_traits/remove_all_extents.hpp index b64112b..16abdee 100755 --- a/include/boost/type_traits/remove_all_extents.hpp +++ b/include/boost/type_traits/remove_all_extents.hpp @@ -9,11 +9,11 @@ #ifndef BOOST_TT_REMOVE_ALL_EXTENTS_HPP_INCLUDED #define BOOST_TT_REMOVE_ALL_EXTENTS_HPP_INCLUDED -#include "boost/config.hpp" +#include #include // should be the last #include -#include "boost/type_traits/detail/type_trait_def.hpp" +#include namespace boost { @@ -34,6 +34,6 @@ BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_all_extents,T const vo } // namespace boost -#include "boost/type_traits/detail/type_trait_undef.hpp" +#include #endif // BOOST_TT_REMOVE_BOUNDS_HPP_INCLUDED diff --git a/include/boost/type_traits/remove_bounds.hpp b/include/boost/type_traits/remove_bounds.hpp index 32f7dd8..45ff02a 100644 --- a/include/boost/type_traits/remove_bounds.hpp +++ b/include/boost/type_traits/remove_bounds.hpp @@ -9,11 +9,11 @@ #ifndef BOOST_TT_REMOVE_BOUNDS_HPP_INCLUDED #define BOOST_TT_REMOVE_BOUNDS_HPP_INCLUDED -#include "boost/config.hpp" +#include #include // should be the last #include -#include "boost/type_traits/detail/type_trait_def.hpp" +#include namespace boost { @@ -34,6 +34,6 @@ BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_bounds,T const volatil } // namespace boost -#include "boost/type_traits/detail/type_trait_undef.hpp" +#include #endif // BOOST_TT_REMOVE_BOUNDS_HPP_INCLUDED diff --git a/include/boost/type_traits/remove_const.hpp b/include/boost/type_traits/remove_const.hpp index 2ec8d6c..7637b42 100644 --- a/include/boost/type_traits/remove_const.hpp +++ b/include/boost/type_traits/remove_const.hpp @@ -11,15 +11,15 @@ #ifndef BOOST_TT_REMOVE_CONST_HPP_INCLUDED #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 +#include +#include +#include #include // should be the last #include -#include "boost/type_traits/detail/type_trait_def.hpp" +#include namespace boost { @@ -68,6 +68,6 @@ BOOST_TT_AUX_TYPE_TRAIT_DEF1(remove_const,T,typename detail::remove_const_impl #endif // BOOST_TT_REMOVE_CONST_HPP_INCLUDED diff --git a/include/boost/type_traits/remove_cv.hpp b/include/boost/type_traits/remove_cv.hpp index ea7769d..689b1f1 100644 --- a/include/boost/type_traits/remove_cv.hpp +++ b/include/boost/type_traits/remove_cv.hpp @@ -11,14 +11,14 @@ #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 +#include +#include #include // should be the last #include -#include "boost/type_traits/detail/type_trait_def.hpp" +#include namespace boost { @@ -51,6 +51,6 @@ BOOST_TT_AUX_TYPE_TRAIT_DEF1(remove_cv,T,typename boost::detail::remove_cv_impl< } // namespace boost -#include "boost/type_traits/detail/type_trait_undef.hpp" +#include #endif // BOOST_TT_REMOVE_CV_HPP_INCLUDED diff --git a/include/boost/type_traits/remove_extent.hpp b/include/boost/type_traits/remove_extent.hpp index 693f1af..979edb6 100755 --- a/include/boost/type_traits/remove_extent.hpp +++ b/include/boost/type_traits/remove_extent.hpp @@ -9,11 +9,11 @@ #ifndef BOOST_TT_REMOVE_EXTENT_HPP_INCLUDED #define BOOST_TT_REMOVE_EXTENT_HPP_INCLUDED -#include "boost/config.hpp" +#include #include // should be the last #include -#include "boost/type_traits/detail/type_trait_def.hpp" +#include namespace boost { @@ -34,6 +34,6 @@ BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_extent,T const volatil } // namespace boost -#include "boost/type_traits/detail/type_trait_undef.hpp" +#include #endif // BOOST_TT_REMOVE_BOUNDS_HPP_INCLUDED diff --git a/include/boost/type_traits/remove_pointer.hpp b/include/boost/type_traits/remove_pointer.hpp index 01b2712..69937e5 100644 --- a/include/boost/type_traits/remove_pointer.hpp +++ b/include/boost/type_traits/remove_pointer.hpp @@ -9,11 +9,11 @@ #ifndef BOOST_TT_REMOVE_POINTER_HPP_INCLUDED #define BOOST_TT_REMOVE_POINTER_HPP_INCLUDED -#include "boost/type_traits/broken_compiler_spec.hpp" -#include "boost/config.hpp" +#include +#include // should be the last #include -#include "boost/type_traits/detail/type_trait_def.hpp" +#include namespace boost { @@ -33,6 +33,6 @@ BOOST_TT_AUX_TYPE_TRAIT_DEF1(remove_pointer,T,typename detail::remove_pointer_im } // namespace boost -#include "boost/type_traits/detail/type_trait_undef.hpp" +#include #endif // BOOST_TT_REMOVE_POINTER_HPP_INCLUDED diff --git a/include/boost/type_traits/remove_reference.hpp b/include/boost/type_traits/remove_reference.hpp index 9986a03..43c0f81 100644 --- a/include/boost/type_traits/remove_reference.hpp +++ b/include/boost/type_traits/remove_reference.hpp @@ -9,11 +9,11 @@ #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 +#include // should be the last #include -#include "boost/type_traits/detail/type_trait_def.hpp" +#include namespace boost { @@ -40,6 +40,6 @@ BOOST_TT_AUX_TYPE_TRAIT_DEF1(remove_reference,T,typename detail::remove_referenc } // namespace boost -#include "boost/type_traits/detail/type_trait_undef.hpp" +#include #endif // BOOST_TT_REMOVE_REFERENCE_HPP_INCLUDED diff --git a/include/boost/type_traits/remove_volatile.hpp b/include/boost/type_traits/remove_volatile.hpp index 443ce73..71b6cc3 100644 --- a/include/boost/type_traits/remove_volatile.hpp +++ b/include/boost/type_traits/remove_volatile.hpp @@ -11,15 +11,15 @@ #ifndef BOOST_TT_REMOVE_VOLATILE_HPP_INCLUDED #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 +#include +#include +#include #include // should be the last #include -#include "boost/type_traits/detail/type_trait_def.hpp" +#include namespace boost { @@ -67,6 +67,6 @@ BOOST_TT_AUX_TYPE_TRAIT_DEF1(remove_volatile,T,typename detail::remove_volatile_ } // namespace boost -#include "boost/type_traits/detail/type_trait_undef.hpp" +#include #endif // BOOST_TT_REMOVE_VOLATILE_HPP_INCLUDED diff --git a/include/boost/type_traits/same_traits.hpp b/include/boost/type_traits/same_traits.hpp index 899193c..dab7dac 100644 --- a/include/boost/type_traits/same_traits.hpp +++ b/include/boost/type_traits/same_traits.hpp @@ -10,6 +10,6 @@ #ifndef BOOST_TT_SAME_TRAITS_HPP_INCLUDED #define BOOST_TT_SAME_TRAITS_HPP_INCLUDED -#include "boost/type_traits/is_same.hpp" +#include #endif // BOOST_TT_SAME_TRAITS_HPP_INCLUDED diff --git a/include/boost/type_traits/transform_traits.hpp b/include/boost/type_traits/transform_traits.hpp index 6c2d7a3..7a82f1c 100644 --- a/include/boost/type_traits/transform_traits.hpp +++ b/include/boost/type_traits/transform_traits.hpp @@ -12,10 +12,10 @@ #ifndef BOOST_TT_TRANSFORM_TRAITS_HPP_INCLUDED #define BOOST_TT_TRANSFORM_TRAITS_HPP_INCLUDED -#include "boost/type_traits/add_pointer.hpp" -#include "boost/type_traits/add_reference.hpp" -#include "boost/type_traits/remove_bounds.hpp" -#include "boost/type_traits/remove_pointer.hpp" -#include "boost/type_traits/remove_reference.hpp" +#include +#include +#include +#include +#include #endif // BOOST_TT_TRANSFORM_TRAITS_HPP_INCLUDED diff --git a/include/boost/type_traits/transform_traits_spec.hpp b/include/boost/type_traits/transform_traits_spec.hpp index 4ab6e77..851af3d 100644 --- a/include/boost/type_traits/transform_traits_spec.hpp +++ b/include/boost/type_traits/transform_traits_spec.hpp @@ -9,6 +9,6 @@ #ifndef BOOST_TT_TRANSFORM_TRAITS_SPEC_HPP_INCLUDED #define BOOST_TT_TRANSFORM_TRAITS_SPEC_HPP_INCLUDED -#include "boost/type_traits/broken_compiler_spec.hpp" +#include #endif // BOOST_TT_TRANSFORM_TRAITS_SPEC_HPP_INCLUDED diff --git a/include/boost/type_traits/type_with_alignment.hpp b/include/boost/type_traits/type_with_alignment.hpp index b6d9a1c..37bfbb2 100644 --- a/include/boost/type_traits/type_with_alignment.hpp +++ b/include/boost/type_traits/type_with_alignment.hpp @@ -8,19 +8,19 @@ #ifndef BOOST_TT_TYPE_WITH_ALIGNMENT_INCLUDED #define BOOST_TT_TYPE_WITH_ALIGNMENT_INCLUDED -#include "boost/mpl/if.hpp" -#include "boost/preprocessor/list/for_each_i.hpp" -#include "boost/preprocessor/tuple/to_list.hpp" -#include "boost/preprocessor/cat.hpp" -#include "boost/preprocessor/list/transform.hpp" -#include "boost/preprocessor/list/append.hpp" -#include "boost/type_traits/alignment_of.hpp" -#include "boost/type_traits/is_pod.hpp" -#include "boost/static_assert.hpp" -#include "boost/config.hpp" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include #include @@ -281,7 +281,7 @@ template <> struct type_with_alignment<16>{ typedef align::a16 type; }; # pragma warning(pop) #endif -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_TYPE_WITH_ALIGNMENT_INCLUDED