[C++-sig] set_wrapper
Nicodemus
nicodemus at globalite.com.br
Tue Jun 3 08:57:59 CEST 2003
Nicodemus wrote:
> Yeah, it doesn't have support to add methods to classes yet... I will
> look into it. You find the "set_wrapper" syntax good enough for this
> purpose, or perhaps an "add_method(name, func)" would be better?
>
> Note also that the method you are trying to add must receive as first
> argument a reference or a pointer to the class, so your f_A function
> should be:
>
> void f_A(A&);
>
> Regards,
> Nicodemus.
Done! Refer to the documentation for usage information.
More information about the Cplusplus-sig
mailing list