-
- Downloads
libstdc++: Deprecate std::setfill for std::basic_istream [PR109922]
Prior to N0966 (July 1996) the std::setfill manipulator was specified to work with both input and output streams. In the final C++98 standard it is only specified to work with output streams. We have always supported it for input streams, despite that never being in the standard, and having no meaning for any input streams defined by the standard. This commit adds a deprecated attribute to the overload for input streams, so that we can stop supporting this some day. libstdc++-v3/ChangeLog: PR libstdc++/109922 * include/std/iomanip (operator>>(basic_istream&, _Setfill)): Add deprecated attribute to non-standard overload. * doc/xml/manual/evolution.xml: Document deprecation. * doc/html/*: Regenerate. * testsuite/27_io/manipulators/standard/char/1.cc: Add dg-warning for expected deprecated warning. * testsuite/27_io/manipulators/standard/char/2.cc: Likewise. * testsuite/27_io/manipulators/standard/wchar_t/1.cc: Likewise. * testsuite/27_io/manipulators/standard/wchar_t/2.cc: Likewise.
Showing
- libstdc++-v3/doc/html/index.html 1 addition, 1 deletionlibstdc++-v3/doc/html/index.html
- libstdc++-v3/doc/html/manual/api.html 3 additions, 0 deletionslibstdc++-v3/doc/html/manual/api.html
- libstdc++-v3/doc/html/manual/appendix.html 1 addition, 1 deletionlibstdc++-v3/doc/html/manual/appendix.html
- libstdc++-v3/doc/html/manual/appendix_porting.html 1 addition, 1 deletionlibstdc++-v3/doc/html/manual/appendix_porting.html
- libstdc++-v3/doc/html/manual/index.html 1 addition, 1 deletionlibstdc++-v3/doc/html/manual/index.html
- libstdc++-v3/doc/xml/manual/evolution.xml 9 additions, 0 deletionslibstdc++-v3/doc/xml/manual/evolution.xml
- libstdc++-v3/include/std/iomanip 2 additions, 0 deletionslibstdc++-v3/include/std/iomanip
- libstdc++-v3/testsuite/27_io/manipulators/standard/char/1.cc 2 additions, 2 deletionslibstdc++-v3/testsuite/27_io/manipulators/standard/char/1.cc
- libstdc++-v3/testsuite/27_io/manipulators/standard/char/2.cc 1 addition, 1 deletionlibstdc++-v3/testsuite/27_io/manipulators/standard/char/2.cc
- libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/1.cc 2 additions, 2 deletions...c++-v3/testsuite/27_io/manipulators/standard/wchar_t/1.cc
- libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/2.cc 1 addition, 1 deletion...c++-v3/testsuite/27_io/manipulators/standard/wchar_t/2.cc
Loading
Please register or sign in to comment