Remove use of BOOST_MPL_AUX_LAMBDA_SUPPORT

It's only need when compilers don't support template template parameters or
partial specialization. I don't think there are any such compilers in use.
This commit is contained in:
Daniel James
2018-04-08 19:09:31 +01:00
parent 3fc08cca25
commit 83d7ee837d
2 changed files with 0 additions and 9 deletions

View File

@@ -20,8 +20,6 @@
# include <boost/detail/workaround.hpp>
# include <boost/detail/select_type.hpp>
# include <boost/mpl/aux_/lambda_support.hpp>
namespace boost { namespace detail {
@@ -82,7 +80,6 @@ template <class T>
struct is_reference_to_member_function_pointer
: is_reference_to_member_function_pointer_impl<T>
{
BOOST_MPL_AUX_LAMBDA_SUPPORT(1,is_reference_to_member_function_pointer,(T))
};
template <class T>
@@ -173,7 +170,6 @@ struct is_reference_to_class
>::value
>
{
BOOST_MPL_AUX_LAMBDA_SUPPORT(1,is_reference_to_class,(T))
};
template <class T>
@@ -187,7 +183,6 @@ struct is_pointer_to_class
>::value
>
{
BOOST_MPL_AUX_LAMBDA_SUPPORT(1,is_pointer_to_class,(T))
};

View File

@@ -6,8 +6,6 @@
# include <boost/type_traits/integral_constant.hpp>
# include <boost/type_traits/remove_cv.hpp>
# include <boost/mpl/aux_/lambda_support.hpp>
# include <boost/mpl/bool.hpp>
# include <boost/detail/workaround.hpp>
namespace boost { namespace detail {
@@ -106,14 +104,12 @@ template<typename T>
struct is_incrementable :
public boost::integral_constant<bool, boost::detail::is_incrementable_::impl<T>::value>
{
BOOST_MPL_AUX_LAMBDA_SUPPORT(1,is_incrementable,(T))
};
template<typename T>
struct is_postfix_incrementable :
public boost::integral_constant<bool, boost::detail::is_incrementable_::postfix_impl<T>::value>
{
BOOST_MPL_AUX_LAMBDA_SUPPORT(1,is_postfix_incrementable,(T))
};
} // namespace detail