[C++-sig] Re: static method implementation

David Abrahams dave at boost-consulting.com
Tue Jan 14 18:09:22 CET 2003


Nikolay Mladenov <nickm at sitius.com> writes:

>  
>
>            
>
>      > Q: How can I get the name_space name?
>
>      What name_space are you referring to?
>
> in Function::add_to_namespace, the name_space parameter.

Inside staticmethod(), that's just the class object, *this.

-- 
                       David Abrahams
   dave at boost-consulting.com * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution





More information about the Cplusplus-sig mailing list