> I admit it's not a very satisfying solution. Maybe someone else has a better
> idea,
> but I think fixing this in Boost.Python would require a lot of work.
Troy did the work already but it isn't in the trunk.
IIUC the additional price is increased extension sizes (but Troy's changes
seem to g
On 05/19/2010 06:23 PM, Thomas Daniel wrote:
The python wrappers created by boost don't seem to distinguish between
create(int) and create(double), although they do notice create(const char*):
Any ideas what I do wrong?
You aren't doing anything wrong. The problem is that the boos
I have a class with "create" methods for different types of arguments:
#include
class Test {
public:
Test() {}
Test(int x) : _type(x) {}
static Test create(int) { return Test(0); }
static Test create(double) { return Test(1); }
static Test create(const char*) { re