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

Added missing #include

Use BOOST_EXPLICIT_TEMPLATE_TYPE


[SVN r19529]
This commit is contained in:
Dave Abrahams
2003-08-11 02:21:34 +00:00
parent 07ce84c4e7
commit 957ac66e14

View File

@@ -8,11 +8,12 @@
#include <boost/python/pointee.hpp>
#include <boost/python/object.hpp>
#include <boost/python/object/class_wrapper.hpp>
namespace boost { namespace python {
template <class P>
void register_ptr_to_python(P* = 0)
void register_ptr_to_python(BOOST_EXPLICIT_TEMPLATE_TYPE(P))
{
typedef typename boost::python::pointee<P>::type X;
objects::class_value_wrapper<