const char * __str__() { static std::string String; String = [some fancy stuff]; return String.c_str(); } static 防止在退出函数时破坏字符串,但这也意味着内存 ...
確定! 回上一頁