要启用 std::cout << oVar;,其中 oVar 具有自定义类型,你需要实现流运算符 operator<<() 的重载。

最后修改: 2025年01月30日 星期四 16:31