How to wrap a static function, which returns a reference to a static object.

6 Feb
2007
6 Feb
'07
1:23 a.m.
I am learning Boost Python. One question is bothering me. I have some code like the following. class A { Public: static B* getB() { return _B;} private: A(); staitc B* _B; } How to wrap function getB()? thanks!!! Jin Sun --------------------------------------------------------- Rekhi Hall 301 1400 Townsend Dr. Houghton MI, 49931 USA Phone: 906-370-2261 ---------------------------------------------------------
6591
Age (days ago)
6591
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jin Sun