"Ralf W. Grosse-Kunstleve" <rwgk at yahoo.com> wrote in message news:467192.53158.qm at web31115.mail.mud.yahoo.com... >I think this should work: > > class_<A>("A") > .def("__call__", &A::operator()) > ; This one I figured out. But it seems clumsy. I would much prefer class_<A>("A") .def( self() ) Gennadiy