Commit 91fd16a7 by Jonathan Wakely Committed by Jonathan Wakely

libstdc++: Fix description of std::ios::trunc (PR 92886)

	PR libstdc++/92886
	* include/bits/ios_base.h (std::ios_base::trunc): Fix comment.

From-SVN: r279175
parent aa1a2795
2019-12-10 Jonathan Wakely <jwakely@redhat.com> 2019-12-10 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/92886
* include/bits/ios_base.h (std::ios_base::trunc): Fix comment.
* include/std/complex (__cpp_lib_constexpr_complex): Define. * include/std/complex (__cpp_lib_constexpr_complex): Define.
* include/std/version (__cpp_lib_constexpr_complex): Likewise. * include/std/version (__cpp_lib_constexpr_complex): Likewise.
* testsuite/26_numerics/complex/1.cc: New test. * testsuite/26_numerics/complex/1.cc: New test.
......
...@@ -445,7 +445,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -445,7 +445,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
/// Open for output. Default for @c ofstream and fstream. /// Open for output. Default for @c ofstream and fstream.
static const openmode out = _S_out; static const openmode out = _S_out;
/// Open for input. Default for @c ofstream. /// Truncate an existing stream when opening. Default for @c ofstream.
static const openmode trunc = _S_trunc; static const openmode trunc = _S_trunc;
// 27.4.2.1.5 Type ios_base::seekdir // 27.4.2.1.5 Type ios_base::seekdir
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment