[C++-sig] static data members
nicodemus at globalite.com.br
Sun Apr 6 22:50:18 CEST 2003
David Abrahams wrote:
>I implemented and checked in static data member support a few days
>ago, but due to poor bandwidth couldn't announce it. You can now use
>def_readonly and def_readwrite with pointers and references to
>ordinary objects (as opposed to data members). The expression &T::x
>where x is a static data member of T is a regular pointer, in case
>Please see libs/python/test/data_members.[cpp/py] for examples.
>Documentation to follow.
I updated pyste to generate code that uses this new facility (version
Great work Dave,
More information about the Cplusplus-sig