Boost logo

Boost Users :

From: Benjamin Schmeling (Benjamin_Schmeling_at_[hidden])
Date: 2005-01-31 17:34:10

I have exposed a bigint class which has no constructor for long_ .
I added an additional constructor by defining .def("__init__",
This works fine. Now I want to use the implicitly_convertible function
which expects from the class to have an constructor which takes the
first argumen (in this case a long_)
I used implicitly_convertible<boost::python::long_ ,bigint> but now the
problem is that the original c++ class has no such constructor, but the
wrapped class. How can I make him use my new constructor in


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at