2
0
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:
Dave Abrahams
2003-04-09 11:57:59 +00:00
parent 510215f284
commit ccd84c0be6

View File

@@ -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
{