1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#pragma once class Test { int m_int; double m_double; public: static const char* name(); Test(int foo); Test(double foo); }; namespace testing { typedef Test TypeAlias; } // namespace testing typedef testing::TypeAlias TypeAlias;