[C++-sig] Pyste: bug: overriding overloaded virtual functions.

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Sat Jul 5 19:04:37 CEST 2003


>>>>> "N" == nicodemus  <nicodemus at globalite.com.br> writes:

[virtual operators bug]

    N> But I will change it to export the explicit Python special
    N> names, to ease dealing with virtual operators:

    N>     class<A>(...)
    N>         .def("__add__", &A::operator+)
    N>     ;

    N> You people think that this is a great loss in readability?

I'm OK with the above since it reads quite naturally to *me*.  I'm not
sure what others will feel though.

cheers,
prabhu




More information about the Cplusplus-sig mailing list