[C++-sig] v2 def_raw ?

David Abrahams dave at boost-consulting.com
Tue Jan 7 18:10:50 CET 2003


Jacek Generowicz <jacek.generowicz at cern.ch> writes:

> What is the v2 equivalent of v1's class_builder::def_raw(...) ?
>
> (How should I have found this in the docs myself?)

We don't have a direct equivalent, though we probably should.

What we /do/ have is the ability to specify optional arguments

   http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/boost/boost/libs/python/doc/v2/overloads.html

and keyword expressions

   http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/boost/boost/libs/python/doc/v2/args.html#args-spec
Does that cover your needs?

-- 
                       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