[C++-sig] boost:python::arg and default value

Roman Yakovenko roman.yakovenko at gmail.com
Thu Aug 31 19:08:07 CEST 2006


On 8/31/06, David Abrahams <dave at boost-consulting.com> wrote:
> > I see only one possible solution - to add to Boost.Python
> > functionality, that will
> > allow user to control argument default value conversion time.
>
> I disagree.  It should be lazy and do the conversion on demand.  Extra
> control is not a significant benefit in this instance.

Does "lazy and on demand" mean first time a user calls function?
If so, I will try to work on the patch, but I think I still will need help with
boost::python::objects::function class.

-- 
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/



More information about the Cplusplus-sig mailing list