We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a75ee50 commit 88caf4fCopy full SHA for 88caf4f
1 file changed
include/boost/python/init.hpp
@@ -269,12 +269,15 @@ namespace detail
269
, mpl::push_front<>
270
>::type args;
271
272
+ typedef typename ClassT::holder_selector holder_selector_t;
273
+ typedef typename ClassT::held_type held_type_t;
274
+
275
cl.def(
276
"__init__",
277
python::make_constructor<args>(
278
policies
279
// Using runtime type selection works around a CWPro7 bug.
- , ClassT::holder_selector::execute((ClassT::held_type*)0).get()
280
+ , holder_selector_t::execute((held_type_t*)0).get()
281
)
282
, doc
283
);
0 commit comments