std::string ConversionString;
#define XToString(val) getString(#val)
string & getString(const char * val) {
ConversionString = val;
return ConversionString;
};
把C++的类,方法,成员,枚举转换成对应的字符串
最新推荐文章于 2024-07-05 10:56:57 发布
std::string ConversionString;
#define XToString(val) getString(#val)
string & getString(const char * val) {
ConversionString = val;
return ConversionString;
};