Boost logo

Boost :

From: Anton Gluck (gluc_at_[hidden])
Date: 2000-11-01 00:19:19


Dave,

> Just add an overload:
>
> static void myclass_addvar0(MyClass& x)
> {
> x.AddVar();
> }
> ...
> MyClass_class.def(myclass_addvar0, "AddVar");

Thanks, it works beautifully.

Toni


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk