Aug. 31, 2006
5:53 p.m.
"Roman Yakovenko" <roman.yakovenko@gmail.com> writes:
On 8/31/06, David Abrahams <dave@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?
Yes... or even the first time a user actually uses the default.
If so, I will try to work on the patch, but I think I still will need help with boost::python::objects::function class.
I'll do my best to help -- Dave Abrahams Boost Consulting www.boost-consulting.com