mirror of
https://github.com/boostorg/python.git
synced 2026-01-26 06:42:27 +00:00
missing raw_function.hpp added; struct is_reference_to_class definition moved up
[SVN r17781]
This commit is contained in:
@@ -172,24 +172,6 @@ struct is_reference_to_pointer<T* const volatile&> : mpl::true_
|
||||
{
|
||||
};
|
||||
|
||||
template <class T>
|
||||
struct is_reference_to_classx
|
||||
{
|
||||
BOOST_STATIC_CONSTANT(
|
||||
bool, value
|
||||
= (boost::type_traits::ice_and<
|
||||
is_reference<T>::value
|
||||
, is_class<
|
||||
typename remove_cv<
|
||||
typename remove_reference<T>::type
|
||||
>::type
|
||||
>::value
|
||||
>::value)
|
||||
);
|
||||
typedef mpl::bool_<value> type;
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(1,is_reference_to_class,(T))
|
||||
};
|
||||
|
||||
template <class T>
|
||||
struct is_reference_to_class
|
||||
: mpl::and_<
|
||||
@@ -212,6 +194,24 @@ struct is_reference_to_class
|
||||
{
|
||||
};
|
||||
|
||||
template <class T>
|
||||
struct is_reference_to_classx
|
||||
{
|
||||
BOOST_STATIC_CONSTANT(
|
||||
bool, value
|
||||
= (boost::type_traits::ice_and<
|
||||
is_reference<T>::value
|
||||
, is_class<
|
||||
typename remove_cv<
|
||||
typename remove_reference<T>::type
|
||||
>::type
|
||||
>::value
|
||||
>::value)
|
||||
);
|
||||
typedef mpl::bool_<value> type;
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(1,is_reference_to_class,(T))
|
||||
};
|
||||
|
||||
template <class T>
|
||||
struct is_pointer_to_class
|
||||
: mpl::and_<
|
||||
|
||||
Reference in New Issue
Block a user