1 #include "a.h" 2 3 namespace { 4 class B : public A { 5 public: 6 B() : A(42) {} 7 8 private: 9 int m_anon_b_value = 47; 10 }; 11 } // namespace 12 13 A *make_anonymous_B() { return new B(); } 14