std::wofstream gets broken in binary mode in GCC but works in MSVC

后端 未结 0 1059
遇见更好的自我
遇见更好的自我 2021-02-14 15:30

The following piece of code produces a file with a single byte when compiled in MSVC, but when compiled by GCC 8.3 it produces an empty file.

std::wofstream out(&         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题