Re: [pygccxml-development] py++ generating invalid default args code
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2008-01-15 14:35:25
|
On Jan 15, 2008 4:14 PM, Allen Bierbaum <al...@vr...> wrote: > Is there a way to detect this problem is happening and output an error > with a link to the documentation? The way it works now where it > generates code that doesn't compile seems a bit problematic to me. I > don't think a new user would be able to decipher what is going on and > determine what they need to fix. If I would now to detect such use case I would treat them in Py++. For free and non virtual member functions you can use next functionality http://language-binding.net/pyplusplus/documentation/functions/default_args.html What user you mean by "a new user" - a bindings developer or final user, who will run the script and compile generated code? -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |