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:
@@ -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<
|
||||
|
||||
Reference in New Issue
Block a user