[C++-sig] [tutorial] Auto-Overloading example bug?
Roman Yakovenko
roman.yakovenko at gmail.com
Thu Aug 31 19:21:25 CEST 2006
On 8/31/06, Joel de Guzman <djowel at gmail.com> wrote:
> Ok, disregard that. I did check it out and the error is the def it
> should be:
>
> .def("foo", (void(*)(bool, int, char))0, foo_overloads());
>
> I fixed the docs and updated to CVS.
Do you want to consider to fix "def"?
.def("foo", foo_overloads() );
It is not clear why user should pass second argument.
Thanks.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
More information about the Cplusplus-sig
mailing list