[C++-sig] Re: creating an instance of a class_<> object in c+ + and exporting it to python

Max Khesin MKhesin at liquidnet.com
Tue Aug 17 15:58:36 CEST 2004


Yep, sorry for disinformation. 


> > I believe that you will not see the "dummy" method by doing 
> dir(). IIRC
> > boost.python hijacks __getattr__ to delegate the lookup to the c++
> > implemented code. Just try a.dummy(), does it work?
> 
> No it doesn't.  The problem is that he used a different name, "A",
> for the method.
> 
> -- 
> Dave Abrahams
> Boost Consulting
> http://www.boost-consulting.com
> 
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig
> 
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.



More information about the Cplusplus-sig mailing list