[C++-sig] Member function bp::optional? Or workaround?

Charles Solar charlessolar at gmail.com
Tue Jan 12 16:08:47 CET 2010


I have a few default parameters in a couple of my member functions, and
these functions do not conform to the format required
forBOOST_PYTHON_MEMBER_FUNCTION_OVERLOAD..
I was wondering how to go about creating those thin wrappers for these
functions.

For example, my class would be something like

struct Foo
{
int bar( const Y* = NULL );
int bar( const X&, const Y* = NULL );
};
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20100112/f48e92a1/attachment.htm>


More information about the Cplusplus-sig mailing list