I have a class
class foo { public: foo(); foo( int ); private: static const string s; };
Where is the best place to initialize the
Static members need to be initialized in a .cpp translation unit at file scope or in the appropriate namespace:
const string foo::s( "my foo");