PR libstdc++/92886 * include/bits/ios_base.h (std::ios_base::trunc): Fix comment.
Committing to trunk as obvious.
commit 9acff881dea3a00ae588f8ebc4c5289b98f7ee52 Author: Jonathan Wakely <jwak...@redhat.com> Date: Tue Dec 10 17:00:30 2019 +0000 libstdc++: Fix description of std::ios::trunc (PR 92886) PR libstdc++/92886 * include/bits/ios_base.h (std::ios_base::trunc): Fix comment. diff --git a/libstdc++-v3/include/bits/ios_base.h b/libstdc++-v3/include/bits/ios_base.h index 06a3e0870f3..be908b3ffd2 100644 --- a/libstdc++-v3/include/bits/ios_base.h +++ b/libstdc++-v3/include/bits/ios_base.h @@ -445,7 +445,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION /// Open for output. Default for @c ofstream and fstream. 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; // 27.4.2.1.5 Type ios_base::seekdir