r261228 - in /branches/gcc-8-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Wed Jun 6 11:41:00 GMT 2018


Author: redi
Date: Wed Jun  6 11:41:57 2018
New Revision: 261228

URL: https://gcc.gnu.org/viewcvs?rev=261228&root=gcc&view=rev
Log:
PR libstdc++/86008 add std::quoted support for string_view

	PR libstdc++/86008
	* include/bits/quoted_string.h (_Quoted_string<basic_string_view, C>):
	Define new partial specialization.
	* include/std/iomanip (quoted(basic_string_view<C,T>, C, C)): Define
	new overload.
	(operator<<(basic_ostream<C,T>&, const _Quoted_string<S,C>&)): Use
	value not reference for iteration.
	* testsuite/27_io/manipulators/standard/char/quoted.cc: Adjust
	comment.
	* testsuite/27_io/manipulators/standard/char/quoted_sv.cc: New test.
	* testsuite/27_io/manipulators/standard/wchar_t/quoted.cc: Adjust
	comment.

Added:
    branches/gcc-8-branch/libstdc++-v3/testsuite/27_io/manipulators/standard/char/quoted_sv.cc
      - copied, changed from r261225, branches/gcc-8-branch/libstdc++-v3/testsuite/27_io/manipulators/standard/char/quoted.cc
    branches/gcc-8-branch/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/quoted_sv.cc
      - copied, changed from r261225, branches/gcc-8-branch/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/quoted.cc
Modified:
    branches/gcc-8-branch/libstdc++-v3/ChangeLog
    branches/gcc-8-branch/libstdc++-v3/include/bits/quoted_string.h
    branches/gcc-8-branch/libstdc++-v3/include/std/iomanip
    branches/gcc-8-branch/libstdc++-v3/testsuite/27_io/manipulators/standard/char/quoted.cc
    branches/gcc-8-branch/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/quoted.cc



More information about the Gcc-cvs mailing list