[C++-sig] boost python references

Roman Yakovenko roman.yakovenko at gmail.com
Sun Apr 16 18:31:12 CEST 2006


On 4/16/06, david stummer <stummer at gmail.com> wrote:
> >Somewhere should be defined an unique instance of the class, you want to
> share
> >across all instances. How you implement this, it is up to you.

Somewhere should be some kind of static:

1. It could be module attribute, then all your get/set functions
should work on it
2. Regular C++ static defined somewhere

Try to implement some solution in C++, after that I will try to help
you with boost.python

--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/



More information about the Cplusplus-sig mailing list