1#ifndef _lib_static_init_h 2#define _lib_static_init_h 3 4class Foo { 5private: 6 int value; 7 static int counter; 8public: 9 virtual int getValue(); 10 Foo(); 11}; 12 13extern Foo theFoo; 14 15#endif /* _lib_static_init_h */ 16