c++ typeid对多种类型名称的输出

include using namespace std; class B { public: B() = default; B(int b) :a(b) {}; private: int a; }; enum class color { red = 1, yellow = 5, green = 9 }; int main() { int a = 42; string b = “555”; doub
相关文章
相关标签/搜索