foo.cpp 174 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 class Foo { public: Foo(int i, double d) : m_i(i), m_d(d){}; private: int m_i; int m_d; }; int main(int argc, char **argv) { static Foo foo(1, 2.22); return 0; }