Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-11-09 12:07:08


It's not an issue of the class_builder<T> having been /run/, but having been
/instantiated/ before wrapping any function that requires conversion of T.
For example,

namespace boost { namespace python {
  template class class_builder<bpl_test::Record>; // explicitly instantiate
}} // namespace boost::python

this is from libs/python/test/comprehensive.cpp


----- Original Message -----
From: <MikeEnsor_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Friday, November 09, 2001 11:21 AM
Subject: [boost] Re: Boost.Python question

> I am pretty sure that the class builder has not run by the time it
> gets to this code....I have a series of overridden functions such as
> functions that compensate for the "int and double" issue...I have them
> in an include file at the top of my module c++ file...What can I do to
> manualy convert this into a PyObject*? Is there anything I can do to
> get around this?
> thanks,
> Mike
> Info: Unsubscribe:
> Your use of Yahoo! Groups is subject to

Boost list run by bdawes at, gregod at, cpdaniel at, john at