[C++-sig] Need help on enum--a concrete example
David Abrahams
dave at boost-consulting.com
Sat Sep 7 05:33:28 CEST 2002
I wrote:
>
> struct A_wrap : A
> {
> A_wrap() {}
> A_wrap(double x, int c) : A(x, (choice)c) {}
Whoops, that should be:
A_wrap(PyObject*) {}
A_wrap(PyObject*, double x, int c) : A(x, (choice)c) {}
-----------------------------------------------------------
David Abrahams * Boost Consulting
dave at boost-consulting.com * http://www.boost-consulting.com
More information about the Cplusplus-sig
mailing list