error: call to implicitly-deleted copy constructor of

在类增加std::ofstream成员变量就会出现,使用局部变量即可。

参考:

error: call to implicitly-deleted copy constructor of 编译报错分析-CSDN博客

你可能感兴趣的:(编程,c++)