Boost logo

Boost Users :

From: Jonathan Brandmeyer (jbrandmeyer_at_[hidden])
Date: 2005-01-31 09:55:36

On Mon, 2005-01-31 at 14:24 +0100, Benjamin Schmeling wrote:
> Hi,
> how can I expand my C++ class by adding a new contructor with PyLong as
> an parameter without changing my C++ Class.
> Is it possible?

Yes, it is. See libs/python/test/injected.{cpp,py} in the source
package, and the documentation for make_constructor in the reference
manual (its under "Function Invocation and Creation").


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