Boost logo

Boost :

From: John Hunter (jdhunter_at_[hidden])
Date: 2001-08-16 18:20:50


>>>>> "rwgk" == rwgk <rwgk_at_[hidden]> writes:

    rwgk> Maybe I am missing something, but I believe that it is
    rwgk> straight-forward to do what you want:

I assumed that Ralf's comment regarding member functions "However, the
default arguments are lost at the Python level." would apply to
constructors as well. But I tried your approach on my class, and in
the cases I have tested, it appears to get the optional argument
right. Is there a difference in this regard between constructors and
member funcs, or am I confused?

Thanks
John Hunter


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