2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-26 06:42:27 +00:00

Moved pointee up from detail

[SVN r13810]
This commit is contained in:
Dave Abrahams
2002-05-10 15:47:59 +00:00
parent 710374ed1e
commit 63deae3ab2
4 changed files with 47 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
// copyright notice appears in all copies. This software is provided
// "as is" without express or implied warranty, and with no claim as
// to its suitability for any purpose.
#include <boost/python/detail/pointee.hpp>
#include <boost/python/pointee.hpp>
#include <boost/type_traits/same_traits.hpp>
#include <memory>
#include <boost/shared_ptr.hpp>
@@ -15,19 +15,19 @@ int main()
{
BOOST_STATIC_ASSERT(
(boost::is_same<
boost::python::detail::pointee<std::auto_ptr<char**> >::type
boost::python::pointee<std::auto_ptr<char**> >::type
, char**
>::value));
BOOST_STATIC_ASSERT(
(boost::is_same<
boost::python::detail::pointee<boost::shared_ptr<A> >::type
boost::python::pointee<boost::shared_ptr<A> >::type
, A>::value));
#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
BOOST_STATIC_ASSERT(
(boost::is_same<
boost::python::detail::pointee<char*>::type
boost::python::pointee<char*>::type
, char
>::value));
#endif