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.
精彩评论