Title
quoted should work with basic_string_view
Status
c++17
Section
[quoted.manip]
Submitter
Marshall Clow

Created on 2016-10-27.00:00:00 last changed 88 months ago

Messages

Date: 2016-11-21.05:09:01

Proposed resolution:

This wording is relative to N4606.

Add to the end of the <iomanip> synopsis in [iostream.format.overview]


template <class charT, class traits>
  T15 quoted(basic_string_view<charT, traits> s,
             charT delim = charT(’"’), charT escape = charT(’\\’));

Add to [quoted.manip] at the end of p2:


template <class charT, class traits>
  unspecified quoted(basic_string_view<charT, traits> s,
                            charT delim = charT(’"’), charT escape = charT(’\\’));

Modify [quoted.manip]/3 as follows:

Returns: An object of unspecified type such that if out is an instance of basic_ostream with member type char_type the same as charT and with member type traits_type which in the second and third forms is the same as traits, then the expression out << quoted(s, delim, escape) behaves as a formatted output function (27.7.3.6.1) of out. This forms a character sequence seq, initially consisting of the following elements:

Date: 2016-11-15.00:00:00

[ 2016-11-12, Issaquah ]

Sat AM: Priority 0; move to Ready

13 -> 13 in paragraph modification; and T14 -> T15

Date: 2016-10-27.00:00:00

Quoted output for strings was added for C++14. But when we merged string_view from the Library Fundamentals TS, we did not add support for quoted output of basic_string_view

History
Date User Action Args
2017-07-30 20:15:43adminsetstatus: wp -> c++17
2017-03-05 23:41:16adminsetstatus: ready -> wp
2016-11-21 05:09:01adminsetmessages: + msg8668
2016-11-21 05:09:01adminsetstatus: new -> ready
2016-10-27 15:08:39adminsetmessages: + msg8572
2016-10-27 00:00:00admincreate