开发者

C++11 File Streams

开发者 https://www.devze.com 2023-04-10 15:17 出处:网络
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 the

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

精彩评论

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