2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-25 06:22:15 +00:00
[SVN r14160]
This commit is contained in:
Dave Abrahams
2002-06-16 22:59:09 +00:00
parent 9a5b89da59
commit 41132af773

View File

@@ -29,6 +29,24 @@ struct is_borrowed_ptr<borrowed<T>*>
BOOST_STATIC_CONSTANT(bool, value = true);
};
template<typename T>
struct is_borrowed_ptr<borrowed<T> const*>
{
BOOST_STATIC_CONSTANT(bool, value = true);
};
template<typename T>
struct is_borrowed_ptr<borrowed<T> volatile*>
{
BOOST_STATIC_CONSTANT(bool, value = true);
};
template<typename T>
struct is_borrowed_ptr<borrowed<T> const volatile*>
{
BOOST_STATIC_CONSTANT(bool, value = true);
};
# else // no partial specialization
typedef char (&yes_borrowed_ptr_t)[1];