mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 17:32:55 +00:00
Small changes to support new iterator adaptors in sandbox
[SVN r18212]
This commit is contained in:
@@ -280,9 +280,8 @@ struct is_pointer_to_function
|
||||
struct false_helper1
|
||||
{
|
||||
template <class T>
|
||||
struct apply
|
||||
struct apply : mpl::false_
|
||||
{
|
||||
BOOST_STATIC_CONSTANT(bool, value = false);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -300,22 +299,13 @@ struct true_helper1
|
||||
BOOST_STATIC_CONSTANT(
|
||||
bool, value
|
||||
= sizeof(reference_to_const_helper(t)) == sizeof(inner_yes_type));
|
||||
typedef mpl::bool_<value> type;
|
||||
};
|
||||
};
|
||||
|
||||
template <bool ref = true>
|
||||
struct is_reference_to_const_helper1 : true_helper1
|
||||
{
|
||||
# if 0
|
||||
template <class T>
|
||||
struct apply
|
||||
{
|
||||
static T t;
|
||||
BOOST_STATIC_CONSTANT(
|
||||
bool, value
|
||||
= sizeof(reference_to_const_helper(t)) == sizeof(inner_yes_type));
|
||||
};
|
||||
# endif
|
||||
};
|
||||
|
||||
template <>
|
||||
@@ -331,7 +321,6 @@ struct is_reference_to_const
|
||||
};
|
||||
|
||||
|
||||
|
||||
template <bool ref = true>
|
||||
struct is_reference_to_non_const_helper1
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user