草庐IT

WRstruct

全部标签

c++ - 二元重载运算符=

所以我尝试使用std::ostream_iterator和std::iostream_iterator写入和读取文件。写作过程很好,没有任何错误。但至于阅读,我迷路了。我的错误是:1>c:\programfiles(x86)\microsoftvisualstudio14.0\vc\include\xutility(2316):errorC2678:binary'=':nooperatorfoundwhichtakesaleft-handoperandoftype'constWRstruct'(orthereisnoacceptableconversion)它说:c:\users\xx