[C++-sig] Call Policy for Singleton

John Reid j.reid at mail.cryst.bbk.ac.uk
Fri Feb 13 10:33:09 CET 2009


ZaeX wrote:
>  And in my opinion, you'd better be careful if you expect that the c++ 
> code and python code are using the same singleton instance.
> Because there're two Singleton::_instance if you export the Singleton 
> class to Python. one at c++ side, the other at python side.
I don't think this is true. What makes you think this?

John.



More information about the Cplusplus-sig mailing list