j
k
j a
j l
2007/4/4, Martin Bonner <Martin.Bonner@pi-shurlok.com>: Static variable in an inline function.
Yes, I agree. Something like: // st.h class st { private: st(){} public: static st* get_instance() { static st* inst = new st; return inst; } };
Back to the thread
Back to the list