[C++-sig] Boost.Python v2: Arbitrary arity handling updated

David Abrahams david.abrahams at rcn.com
Thu Apr 18 06:46:31 CEST 2002


The Kull group reported some problems with the arbitrary arity support
today; they've been fixed. The default arity support is for up to 15
arguments for EDG compilers now; 17 arguments for all others. In order
to avoid confusion, the "this" pointer of member functions no longer
counts as one of the arguments when computing arity.

Caveat: if you use any mpl sequence other than boost::python::args<...>
in your calls to def_init(), compilation will be SLOW on EDG compilers.
Don't say I didn't warn you.

-Dave

+---------------------------------------------------------------+
                  David Abrahams
      C++ Booster (http://www.boost.org)               O__  ==
      Pythonista (http://www.python.org)              c/ /'_ ==
  resume: http://users.rcn.com/abrahams/resume.html  (*) \(*) ==
          email: david.abrahams at rcn.com
+---------------------------------------------------------------+






More information about the Cplusplus-sig mailing list