From 38cc207b23b3b4836f477d901f034736b79f6cbb Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Fri, 11 Oct 2013 23:15:00 +0000 Subject: [PATCH] Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION Process #ifndef...#endif conditions. [SVN r86244] --- include/boost/function_types/detail/class_transform.hpp | 2 -- include/boost/function_types/detail/to_sequence.hpp | 2 -- include/boost/function_types/property_tags.hpp | 2 -- 3 files changed, 6 deletions(-) diff --git a/include/boost/function_types/detail/class_transform.hpp b/include/boost/function_types/detail/class_transform.hpp index ef9a225..27b97b3 100644 --- a/include/boost/function_types/detail/class_transform.hpp +++ b/include/boost/function_types/detail/class_transform.hpp @@ -28,7 +28,6 @@ struct class_transform { typedef typename mpl::apply1::type type; }; -#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION // We can short-circuit the mechanism implemented in the primary template for // the most common lambda expression and save both the "un-lambdaing" and the // type traits invocation (we know that T can only be a class type). @@ -53,7 +52,6 @@ template struct class_transform< T, add_pointer< remove_cv<_> > > template struct class_transform< T, mpl::always > { typedef U type; }; -#endif } } } // namespace ::boost::function_types::detail diff --git a/include/boost/function_types/detail/to_sequence.hpp b/include/boost/function_types/detail/to_sequence.hpp index 828acd9..54854db 100644 --- a/include/boost/function_types/detail/to_sequence.hpp +++ b/include/boost/function_types/detail/to_sequence.hpp @@ -32,14 +32,12 @@ struct to_sequence type; }; -#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION // reduce template instantiations, if possible template struct to_sequence< components > { typedef typename components::types type; }; -#endif } } } // namespace ::boost::function_types::detail diff --git a/include/boost/function_types/property_tags.hpp b/include/boost/function_types/property_tags.hpp index bbc64d5..c2158d3 100644 --- a/include/boost/function_types/property_tags.hpp +++ b/include/boost/function_types/property_tags.hpp @@ -102,7 +102,6 @@ struct tag detail::compound_tag > { }; -#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION template struct tag : detail::compound_tag,Tag3> { }; @@ -112,7 +111,6 @@ template struct tag template struct tag : Tag1 { }; -#endif template struct represents