2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 06:02:14 +00:00
[SVN r12922]
This commit is contained in:
Dave Abrahams
2002-02-24 04:47:48 +00:00
parent 6c7d3e1eab
commit a04cbd111c

View File

@@ -27,13 +27,13 @@ struct is_reference_to_const<T const&>
template <class T>
struct is_reference_to_non_const
{
BOOST_STATIC_CONSTANT(bool, value = false);
};
template <class T>
struct is_reference_to_non_const<T&>
{
BOOST_STATIC_CONSTANT(bool, value = true);
BOOST_STATIC_CONSTANT(
bool, value = (
::boost::type_traits::ice_and<
::boost::is_reference<T>::value
, !::boost::python::detail::is_reference_to_const<T>::value
>::value)
);
};
template <class T>