Remove ios_mode::trunc from basic_ofstream openmode arguments
authorJonathan Wakely <jwakely@redhat.com>
Mon, 30 Oct 2017 15:35:02 +0000 (15:35 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 30 Oct 2017 15:35:02 +0000 (15:35 +0000)
commit0a6e98b78b19d859c7533f7ba0e4cb4fb0e1b663
tree50a908bd0174ba62a1def67560fd6515320d3bc4
parent791929c91a53a168bb46e3cd08612eb69d5a6785
Remove ios_mode::trunc from basic_ofstream openmode arguments

* include/std/fstream (basic_ifstream, basic_ofstream, basic_fstream):
Remove outdated comments about calling c_str() to create a file stream
from a std::string.
(basic_ofstream::basic_ofstream, basic_ofstream::open): Remove
redundant ios_mode::trunc bits from default arguments and comments.

From-SVN: r254226
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/fstream