开发者

C++11 File Streams

Has开发者_Go百科 C++11 move semantics made the use of std::ifstream and std::ofstream easier or safer with regards to exceptions? I guess it depends on the standard library aswell. Any differences there between GCC, ICC and VC++ Compiler?


No. The exception safety aspects of the std::stream classes has not been impacted. The only difference is that you can now return streams from factory functions and store them in containers.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜