$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: John Hunter (jdhunter_at_[hidden])
Date: 2001-08-17 09:05:00
>>>>> "David" == David Abrahams <david.abrahams_at_[hidden]> writes:
    David> Yes, there's a difference. The difference is that when
    David> wrapping a constructor, you have to specify the argument
    David> list. When wrapping a member function, you don't. It would
    David> certainly be possible to add similar functionality for
    David> member functions:
    David> my_class_builder.def(&my_class::f, boost::python::args<int,char*, char>(), "f"); 
Ok, thanks for the clarification.  I think the ability to supply an
arguments list via template parameters for functions would be a nice
addition.  It's not much work to add the _1, _2 wrappers Ralf
suggested above, but it is certainly cleaner and easier to do as much
as possible in the class builder.
And I do have a lot of default args in my code....  :)
Thanks again,
John Hunter