Topic: Update to string_ref proposal


Author: Jeffrey Yasskin <jyasskin@googlers.com>
Date: Wed, 26 Dec 2012 15:44:38 -0800
Raw View
--e89a8fb1f846aae6ea04d1ca048c
Content-Type: text/plain; charset=ISO-8859-1

Hi folks,

I finally have an update for the string_ref proposal, converting it to
a set of changes against the C++14 draft. The most recent version
lives at https://github.com/google/cxx-std-draft/blob/string-ref-paper/string_ref.html,
and I've attached a snapshot.

The LWG is still deciding whether this should aim for a TS or C++14
(or both?), and feedback from here will help inform that decision.
This paper currently assumes C++14.

Let me know what you think,
Jeffrey Yasskin

--




--e89a8fb1f846aae6ea04d1ca048c
Content-Type: text/html; name="string_ref.html"
Content-Disposition: attachment; filename="string_ref.html"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hb73v5t70

PCFET0NUWVBFIGh0bWw+CjxodG1sIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hodG1s
Ij4KICA8aGVhZD4KICAgIDxtZXRhIGNvbnRlbnQ9InRleHQvaHRtbDtjaGFyc2V0PVVURi04IiBo
dHRwLWVxdWl2PSJDb250ZW50LVR5cGUiLz4KICAgIDxtZXRhIGNoYXJzZXQ9IlVURi04Ii8+CiAg
ICA8dGl0bGU+c3RyaW5nX3JlZjogYSBub24tb3duaW5nIHJlZmVyZW5jZSB0byBhIHN0cmluZywg
cmV2aXNpb24gMS41PC90aXRsZT4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KYm9keSB7Y29sb3I6
ICMwMDAwMDA7IGJhY2tncm91bmQtY29sb3I6ICNGRkZGRkY7fQoKZGVsIHt0ZXh0LWRlY29yYXRp
b246IGxpbmUtdGhyb3VnaDsgY29sb3I6ICM4QjAwNDA7fQppbnMge3RleHQtZGVjb3JhdGlvbjog
dW5kZXJsaW5lOyBjb2xvcjogIzAwNTEwMDt9CgpwcmUgPiBjb2RlOm9ubHktY2hpbGQge2Rpc3Bs
YXk6IGlubGluZS1ibG9jazsgd2hpdGUtc3BhY2U6IGluaG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X2ZsYWdfdHlwZSBmbGFncyA9CiAgICAgICAgICAgICAgICAgIHJlZ2V4X2Nv
bnN0YW50czo6bWF0Y2hfZGVmYXVsdCk7PC9jb2RlPjwvcHJlPgogICAgPGRpdiBjbGFzcz0iYXR0
cmlidXRlcyI+CiAgICAgIDxwPjxpPkVmZmVjdHM8L2k+OiBDb25zdHJ1Y3RzIGFuIGVtcHR5IHN0
cmluZyByZXN1bHQgb2YgdHlwZSBiYXNpY19zdHJpbmcmbHQ7Y2hhclQ+IGFuZCBjYWxscyByZWdl
eF9yZXBsYWNlKCBiYWNrX2luc2VydGVyKHJlc3VsdCksIHMsIHMgKyBjaGFyX3RyYWl0cyZsdDtj
aGFyVD46Omxlbmd0aChzKSwgZSwgZm10LCBmbGFncykuPC9wPgogICAgICA8cD48aT5SZXR1cm5z
PC9pPjogcmVzdWx0LjwvcD4KICAgIDwvZGl2PgogIDwvc2VjdGlvbj4KCiAgPHNlY3Rpb24+CiAg
ICA8aDIgaWQ9ImFja25vd2xlZGdlbWVudHMiPkFja25vd2xlZGdlbWVudHM8L2gyPgoKICAgIDxw
PkknZCBsaWtlIHRvIHRoYW5rIENoYW5kbGVyIENhcnJ1dGgsIE1hcnNoYWxsIENsb3csIHRoZSBC
b29zdCBhbmQKICAgIHN0ZC1wcm9wb3NhbHMgbWFpbGluZyBsaXN0cywgQmVtYW4gRGF3ZXMsIERh
bmllbCBLcsO8Z2xlciwgYW5kIEFsaXNkYWlyCiAgICBNZXJlZGl0aCBmb3IgaGVscCwgYWR2aWNl
LCBhbmQgd29yZGluZyBpbiB0aGlzIHBhcGVyLjwvcD4KICA8L3NlY3Rpb24+CjwvYm9keT4KPC9o
dG1sPgo=
--e89a8fb1f846aae6ea04d1ca048c--

.


Author: "Sommerlad Peter (peter.sommerlad@hsr.ch)" <psommerl@hsr.ch>
Date: Fri, 28 Dec 2012 11:05:36 +0100
Raw View
Hi,

> An alternate way to get compile-time string_refs would be to define a use=
r-defined literal operator a'la N3468. Arguably, basic_string_ref is a bett=
er candidate for the ""s suffix thanbasic_string since basic_string isn't a=
 literal type.

as author of N3468 I can understand your wish to have a constexpr literal s=
uffix operator for string_ref, however, I propose that you do not insist on=
 operator"" s() to only be useful to create basic_string_ref.

it is a matter of teachability (string_ref will be "new") and also of the n=
eed that you actually may want a std::string variable when doing:=20

auto hi=3D"hello"s;
hi.append(", world!"s);

which is one of my major reasons for contributing operator"" s().

We have two options:

provide

constexpr std::string_ref operator"" s(char const *, size_t);

in a separate namespace std::literals::string_ref, which makes mixing std::=
string operator"" s(char const *, size_t) in the same scope impossible, or =
chose a different name for the suffix, e.g., sr:

constexpr std::string_ref operator"" sr(char const *, size_t);

or, if that seems to much to type,=20

constexpr std::string_ref operator"" r(char const *, size_t);

Otherwise, keep on with the good work.

Regards
Peter.

On 27.12.2012, at 00:44, Jeffrey Yasskin wrote:

> Hi folks,
>=20
> I finally have an update for the string_ref proposal, converting it to
> a set of changes against the C++14 draft. The most recent version
> lives at https://github.com/google/cxx-std-draft/blob/string-ref-paper/st=
ring_ref.html,
> and I've attached a snapshot.
>=20
> The LWG is still deciding whether this should aim for a TS or C++14
> (or both?), and feedback from here will help inform that decision.
> This paper currently assumes C++14.
>=20
> Let me know what you think,
> Jeffrey Yasskin
>=20
> --=20
>=20
>=20
>=20
> <string_ref.html>

--=20
Prof. Peter Sommerlad

Institut f=FCr Software: Bessere Software - Einfach, Schneller!
HSR Hochschule f=FCr Technik Rapperswil
Oberseestr 10, Postfach 1475, CH-8640 Rapperswil

http://ifs.hsr.ch http://cute-test.com http://linticator.com http://includa=
tor.com
tel:+41 55 222 49 84 =3D=3D mobile:+41 79 432 23 32
fax:+41 55 222 46 29 =3D=3D mailto:peter.sommerlad@hsr.ch





--=20




.


Author: Olaf van der Spek <olafvdspek@gmail.com>
Date: Fri, 28 Dec 2012 05:04:54 -0800 (PST)
Raw View
------=_Part_554_26450745.1356699894940
Content-Type: text/plain; charset=ISO-8859-1

On Thursday, December 27, 2012 12:44:38 AM UTC+1, Jeffrey Yasskin wrote:

> I finally have an update for the string_ref proposal, converting it to
> a set of changes against the C++14 draft. The most recent version
> lives at
> https://github.com/google/cxx-std-draft/blob/string-ref-paper/string_ref.html,
>
> and I've attached a snapshot.
>
> The LWG is still deciding whether this should aim for a TS or C++14
> (or both?), and feedback from here will help inform that decision.
>
> What are the pros and cons?

std::string, vector and boost::iterator_range have pop_front() and
pop_back(). String_ref isn't a container but pop_front() and pop_back()
would still be useful. Could they be added?
Maybe pop_front(size_t n) could also be added (instead of remove_prefix)?

Is there still time for bike shedding? str_ref is ever so slightly shorter.
:p

String_ref obviously can't be null-terminated, but C strings aren't going
anywhere any time soon unfortunately. Maybe a future zstr_ref proposal
could address this.

--




------=_Part_554_26450745.1356699894940
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Thursday, December 27, 2012 12:44:38 AM UTC+1, Jeffrey Yasskin wrote:<br=
><blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;bo=
rder-left: 1px #ccc solid;padding-left: 1ex;">I finally have an update for =
the string_ref proposal, converting it to
<br>a set of changes against the C++14 draft. The most recent version
<br>lives at <a href=3D"https://github.com/google/cxx-std-draft/blob/string=
-ref-paper/string_ref.html" target=3D"_blank">https://github.com/google/cxx=
-<wbr>std-draft/blob/string-ref-<wbr>paper/string_ref.html</a>,
<br>and I've attached a snapshot.
<br>
<br>The LWG is still deciding whether this should aim for a TS or C++14
<br>(or both?), and feedback from here will help inform that decision.
<br><br></blockquote><div>What are the pros and cons?</div><div><br></div><=
div>std::string, vector and boost::iterator_range have pop_front() and pop_=
back(). String_ref isn't a container but pop_front() and pop_back() would s=
till be useful. Could they be added?</div><div>Maybe pop_front(size_t n) co=
uld also be added (instead of remove_prefix)?</div><div><br></div><div>Is t=
here still time for bike shedding?&nbsp;str_ref is ever so slightly shorter=
.. :p</div><div><br></div><div>String_ref obviously can't be null-terminated=
, but C strings aren't going anywhere any time soon unfortunately. Maybe a =
future zstr_ref proposal could address this.</div>

<p></p>

-- <br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />

------=_Part_554_26450745.1356699894940--

.


Author: Beman Dawes <bdawes@acm.org>
Date: Sat, 29 Dec 2012 08:42:49 -0500
Raw View
On Fri, Dec 28, 2012 at 8:04 AM, Olaf van der Spek <olafvdspek@gmail.com> wrote:
> On Thursday, December 27, 2012 12:44:38 AM UTC+1, Jeffrey Yasskin wrote:
>>
>> I finally have an update for the string_ref proposal, converting it to
>> a set of changes against the C++14 draft. The most recent version
>> lives at
>> https://github.com/google/cxx-std-draft/blob/string-ref-paper/string_ref.html,
>> and I've attached a snapshot.

> Is there still time for bike shedding? str_ref is ever so slightly shorter.

Names are important, and I've planning to start such a discussion next
week when more people will be reading this list. But if you want to
start such a discussion now, feel free to do so. However, please start
a separate message thread, with a subject line like "[string-ref] Name
suggestion" so that (1) those that don't care can skip reading the
thread and (2) other technical comments don't get lost in the noise.

Thanks,

--Beman

--




.


Author: Olaf van der Spek <olafvdspek@gmail.com>
Date: Sat, 29 Dec 2012 17:26:53 +0100
Raw View
On Sat, Dec 29, 2012 at 2:42 PM, Beman Dawes <bdawes@acm.org> wrote:
>> Is there still time for bike shedding? str_ref is ever so slightly shorter.
>
> Names are important, and I've planning to start such a discussion next
> week when more people will be reading this list. But if you want to
> start such a discussion now, feel free to do so. However, please start
> a separate message thread, with a subject line like "[string-ref] Name
> suggestion" so that (1) those that don't care can skip reading the
> thread and (2) other technical comments don't get lost in the noise.

I'll let you have the honor.

BTW, you've got mail.

--
Olaf

--




.


Author: Beman Dawes <bdawes@acm.org>
Date: Sun, 30 Dec 2012 13:55:55 -0500
Raw View
On Wed, Dec 26, 2012 at 6:44 PM, Jeffrey Yasskin <jyasskin@googlers.com> wrote:
> Hi folks,
>
> I finally have an update for the string_ref proposal, converting it to
> a set of changes against the C++14 draft. The most recent version
> lives at https://github.com/google/cxx-std-draft/blob/string-ref-paper/string_ref.html,
> and I've attached a snapshot.

From the note in basic.string.ref:

"... User-defined types should define their own implicit conversions
to std::basic_string_ref in order to interoperate with these
functions."

The concern is that this requires an invasive change to the UDT.
That's a particular problem for 3rd party UDT's or UDT's the developer
has no control over.

Have you considered a generic constructor instead? For example,

    template <class String>
    basic_string_ref(const String& s)
      : _beg(::std::string_ref_begin(s)), _end(::std::string_ref_end(s)) {}

Where _beg and _end are the private data members.

The user is granted permission to provide the two adapter functions in
namespace std.

For a TS, helper functions could be provided (in std) for std::basic_string:

  // basic_string_ref helpers
  template <class charT, class traits, class Allocator>
  inline
  const charT* string_ref_begin(const basic_string<charT, traits, Allocator>& s)
  {
    return s.c_str();
  }
  template <class charT, class traits, class Allocator>
  inline
  const charT* string_ref_end(const basic_string<charT, traits, Allocator>& s)
  {
    return s.c_str() + s.size();
  }

A quick test of this is available at https://github.com/Beman/string_ref_ex.

--Beman

--




.


Author: Dean Michael Berris <dberris@googlers.com>
Date: Wed, 2 Jan 2013 12:15:25 +1100
Raw View
On Mon, Dec 31, 2012 at 5:55 AM, Beman Dawes <bdawes@acm.org> wrote:
> On Wed, Dec 26, 2012 at 6:44 PM, Jeffrey Yasskin <jyasskin@googlers.com> wrote:
>> Hi folks,
>>
>> I finally have an update for the string_ref proposal, converting it to
>> a set of changes against the C++14 draft. The most recent version
>> lives at https://github.com/google/cxx-std-draft/blob/string-ref-paper/string_ref.html,
>> and I've attached a snapshot.
>
> From the note in basic.string.ref:
>
> "... User-defined types should define their own implicit conversions
> to std::basic_string_ref in order to interoperate with these
> functions."
>
> The concern is that this requires an invasive change to the UDT.
> That's a particular problem for 3rd party UDT's or UDT's the developer
> has no control over.
>
> Have you considered a generic constructor instead? For example,
>
>     template <class String>
>     basic_string_ref(const String& s)
>       : _beg(::std::string_ref_begin(s)), _end(::std::string_ref_end(s)) {}
>
> Where _beg and _end are the private data members.
>
> The user is granted permission to provide the two adapter functions in
> namespace std.
>

Why not just rely on ADL?

--
Dean Michael Berris
Google

--




.


Author: Jeffrey Yasskin <jyasskin@googlers.com>
Date: Wed, 2 Jan 2013 00:08:45 -0500
Raw View
On Fri, Dec 28, 2012 at 8:04 AM, Olaf van der Spek <olafvdspek@gmail.com> wrote:
> On Thursday, December 27, 2012 12:44:38 AM UTC+1, Jeffrey Yasskin wrote:
>>
>> I finally have an update for the string_ref proposal, converting it to
>> a set of changes against the C++14 draft. The most recent version
>> lives at
>> https://github.com/google/cxx-std-draft/blob/string-ref-paper/string_ref.html,
>> and I've attached a snapshot.
>>
>> The LWG is still deciding whether this should aim for a TS or C++14
>> (or both?), and feedback from here will help inform that decision.
>>
> What are the pros and cons?

Overall, we want string_ref in an official document of some sort as
soon as possible so that other TS'en can depend on it.

The bar for including string_ref in a TS is lower, so it's more likely
string_ref would get into the next one. It would also serve as initial
content for the "utility" TS, which may make it easier to add new
things. Putting it in a TS will allow us to change the class in
incompatible ways if we discover problems. However, a TS will be
explicitly beta and may require user code that adopts string_ref to
change the namespace of the class it uses when string_ref is
incorporated into a future C++ standard, even if we don't make any
changes to the class.

C++14 is more official and is a firmer basis for other TS'en. If we
have consensus that string_ref is the right thing to do, we shouldn't
delay it artificially by including an unnecessary TS step. Putting it
directly into the draft standard would let us stop discussing the
whole proposal repeatedly and just discuss changes. (It's possible
putting it in a TS would have the same effect, but I'm less confident
of that.)

Beman may have other tradeoffs to add.

> std::string, vector and boost::iterator_range have pop_front() and
> pop_back(). String_ref isn't a container but pop_front() and pop_back()
> would still be useful. Could they be added?
> Maybe pop_front(size_t n) could also be added (instead of remove_prefix)?

When we discussed N3350
(http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3350.html#classstd_1_1range_1a3c743e4e4b85290682234af4c2d7e50f),
there was an argument that pop_front is expected to destroy the
elements it pops, since it does so everywhere in the standard that it
currently exists. The committee seemed to prefer another name. Clearly
pop_front()==remove_prefix(1), so I don't see an urgent need to add
another method for this purpose. If I get clear direction from the
committee that they want to overload pop_front to have this meaning,
I'd be happy to change it back, but I don't expect to get that
direction.

> Is there still time for bike shedding? str_ref is ever so slightly shorter.
> :p

+1 for Beman's suggestion of starting a new thread for this. I don't
intend to participate much on that thread if at all, but I'm happy to
change the proposal if the discussion leans toward a particular other
option.

> String_ref obviously can't be null-terminated, but C strings aren't going
> anywhere any time soon unfortunately. Maybe a future zstr_ref proposal could
> address this.

Definitely a future proposal. I'll add a note to the paper mentioning this.

Also, sorry for forgetting your .data()/.size() constructor
suggestion. I've added a TODO to my local copy of the paper so I won't
forget it again.

Jeffrey

--




.


Author: Jeffrey Yasskin <jyasskin@googlers.com>
Date: Wed, 2 Jan 2013 00:17:46 -0500
Raw View
On Sun, Dec 30, 2012 at 1:55 PM, Beman Dawes <bdawes@acm.org> wrote:
> On Wed, Dec 26, 2012 at 6:44 PM, Jeffrey Yasskin <jyasskin@googlers.com> wrote:
>> Hi folks,
>>
>> I finally have an update for the string_ref proposal, converting it to
>> a set of changes against the C++14 draft. The most recent version
>> lives at https://github.com/google/cxx-std-draft/blob/string-ref-paper/string_ref.html,
>> and I've attached a snapshot.
>
> From the note in basic.string.ref:
>
> "... User-defined types should define their own implicit conversions
> to std::basic_string_ref in order to interoperate with these
> functions."
>
> The concern is that this requires an invasive change to the UDT.
> That's a particular problem for 3rd party UDT's or UDT's the developer
> has no control over.
>
> Have you considered a generic constructor instead? For example,
>
>     template <class String>
>     basic_string_ref(const String& s)
>       : _beg(::std::string_ref_begin(s)), _end(::std::string_ref_end(s)) {}
>
> Where _beg and _end are the private data members.
>
> The user is granted permission to provide the two adapter functions in
> namespace std.

I've had bad luck with this kind of adaptation function causing ODR
violations in the past. That is:

Library A provides an adaptation point. Library B defines a type that
could logically be used with library A but doesn't define the
adaptation point.
Libraries C and D want to use B with A and both define the adaptation point.
Binary E wants to use both libraries C and D. ODR violation: Boom,
either at link time (good but hard to recover from if you can't modify
libraries C or D, and if you can modify them, why can't you modify
library B?) or run time (very bad).

That said, the standard's style is generally to allow this kind of
extension, so I'll give in if you think I should add it.

> For a TS, helper functions could be provided (in std) for std::basic_string:

For basic_string, it's easy enough just to define the conversion
constructor. The difference would be in the implicit conversions
allowed with "string_ref sr(non_string_type)", where going through a
string_ref_{begin,end} template would allow fewer and would thereby
allow fewer accidental dangling pointers, which is a plus.

Jeffrey

--




.


Author: Olaf van der Spek <olafvdspek@gmail.com>
Date: Thu, 3 Jan 2013 13:51:10 +0100
Raw View
On Wed, Jan 2, 2013 at 6:08 AM, Jeffrey Yasskin <jyasskin@googlers.com> wrote:
> C++14 is more official and is a firmer basis for other TS'en. If we
> have consensus that string_ref is the right thing to do, we shouldn't
> delay it artificially by including an unnecessary TS step. Putting it
> directly into the draft standard would let us stop discussing the
> whole proposal repeatedly and just discuss changes. (It's possible
> putting it in a TS would have the same effect, but I'm less confident
> of that.)

Your list of open questions is short (mine is a bit longer ;), what's
stopping string_ref from getting into C++14?
AFAIK the concept is good, it's just some details that need to be worked out.
It's a shame a reference implementation isn't available yet (in Boost).

> Beman may have other tradeoffs to add.
>
>> std::string, vector and boost::iterator_range have pop_front() and
>> pop_back(). String_ref isn't a container but pop_front() and pop_back()
>> would still be useful. Could they be added?
>> Maybe pop_front(size_t n) could also be added (instead of remove_prefix)?
>
> When we discussed N3350
> (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3350.html#classstd_1_1range_1a3c743e4e4b85290682234af4c2d7e50f),
> there was an argument that pop_front is expected to destroy the
> elements it pops, since it does so everywhere in the standard that it
> currently exists. The committee seemed to prefer another name. Clearly
> pop_front()==remove_prefix(1), so I don't see an urgent need to add

Not really, semantics are different if range is empty. Remove_prefix
and remove_suffix aren't symmetric in that case either.
I like pop_back() much better, it's not a problem in
boost::iterator_range (AFAIK) and I've no idea what destroying a char
would imply.
The difference with an owning container is already indicated by the type name.

Wouldn't clear() have to be removed too?

> another method for this purpose. If I get clear direction from the
> committee that they want to overload pop_front to have this meaning,
> I'd be happy to change it back, but I don't expect to get that
> direction.

> Also, sorry for forgetting your .data()/.size() constructor
> suggestion. I've added a TODO to my local copy of the paper so I won't
> forget it again.

Using data() and size() probably isn't right, it should be begin() and
end(). The point is being able to construct a string_ref from other
string-like types.

> starts_with(), ends_with()

Is a non-member variant being provided too? Otherwise it's not easily
usable on std::string and other string-like types.

BTW, don't forget my comments at
https://groups.google.com/a/isocpp.org/forum/?hl=en&fromgroups=#!topic/std-proposals/ZUnktXzj0RE
--
Olaf

--




.


Author: Zhihao Yuan <lichray@gmail.com>
Date: Thu, 3 Jan 2013 11:58:49 -0600
Raw View
On Thu, Jan 3, 2013 at 6:51 AM, Olaf van der Spek <olafvdspek@gmail.com> wrote:
>> starts_with(), ends_with()
>
> Is a non-member variant being provided too? Otherwise it's not easily
> usable on std::string and other string-like types.

The proposal added them on basic.string for an appropriate English
reading.

BTW, just curious, can I use

string_ref("prefixtree").starts_with(string("prefix"));

?

--
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://4bsd.biz/

--




.


Author: Olaf van der Spek <olafvdspek@gmail.com>
Date: Thu, 3 Jan 2013 19:02:02 +0100
Raw View
On Thu, Jan 3, 2013 at 6:58 PM, Zhihao Yuan <lichray@gmail.com> wrote:
> On Thu, Jan 3, 2013 at 6:51 AM, Olaf van der Spek <olafvdspek@gmail.com> wrote:
>>> starts_with(), ends_with()
>>
>> Is a non-member variant being provided too? Otherwise it's not easily
>> usable on std::string and other string-like types.
>
> The proposal added them on basic.string for an appropriate English
> reading.

What about other string-like types?

> BTW, just curious, can I use
>
> string_ref("prefixtree").starts_with(string("prefix"));

Why not this?

string_ref("prefixtree").starts_with("prefix")

This is even shorter but requires non-member functions:

starts_with("prefixtree", "prefix")

Olaf

--




.


Author: Beman Dawes <bdawes@acm.org>
Date: Fri, 4 Jan 2013 06:58:44 -0500
Raw View
On Tue, Jan 1, 2013 at 8:15 PM, Dean Michael Berris
<dberris@googlers.com> wrote:
> On Mon, Dec 31, 2012 at 5:55 AM, Beman Dawes <bdawes@acm.org> wrote:
....
>> Have you considered a generic constructor instead? For example,
>>
>>     template <class String>
>>     basic_string_ref(const String& s)
>>       : _beg(::std::string_ref_begin(s)), _end(::std::string_ref_end(s)) {}
>>
>> Where _beg and _end are the private data members.
>>
>> The user is granted permission to provide the two adapter functions in
>> namespace std.
>>
>
> Why not just rely on ADL?

No good reason, and that's what the little prototype did initially.
But I don't understand ADL pitfalls very well,  so avoid using it when
there is an alternative.

I'd defer to library experts if they have a strong opinion, and also
to Jeffery since it is his proposal.

--Beman

--




.


Author: Jeffrey Yasskin <jyasskin@googlers.com>
Date: Fri, 4 Jan 2013 18:59:27 +0000
Raw View
On Thu, Jan 3, 2013 at 12:51 PM, Olaf van der Spek <olafvdspek@gmail.com> wrote:
> On Wed, Jan 2, 2013 at 6:08 AM, Jeffrey Yasskin <jyasskin@googlers.com> wrote:
>> C++14 is more official and is a firmer basis for other TS'en. If we
>> have consensus that string_ref is the right thing to do, we shouldn't
>> delay it artificially by including an unnecessary TS step. Putting it
>> directly into the draft standard would let us stop discussing the
>> whole proposal repeatedly and just discuss changes. (It's possible
>> putting it in a TS would have the same effect, but I'm less confident
>> of that.)
>
> Your list of open questions is short (mine is a bit longer ;), what's
> stopping string_ref from getting into C++14?
> AFAIK the concept is good, it's just some details that need to be worked out.
> It's a shame a reference implementation isn't available yet (in Boost).

I think the details are what people are worried about. Personally, I
think we can get them worked out by Bristol and get string_ref into
C++14, but there's enough doubt in the minds of more experienced
committee members that I'm not certain.

Note that the feedback we need from this list is not "which target
should we aim for". It's "which pieces are right and wrong".

>> Beman may have other tradeoffs to add.
>>
>>> std::string, vector and boost::iterator_range have pop_front() and
>>> pop_back(). String_ref isn't a container but pop_front() and pop_back()
>>> would still be useful. Could they be added?
>>> Maybe pop_front(size_t n) could also be added (instead of remove_prefix)?
>>
>> When we discussed N3350
>> (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3350.html#classstd_1_1range_1a3c743e4e4b85290682234af4c2d7e50f),
>> there was an argument that pop_front is expected to destroy the
>> elements it pops, since it does so everywhere in the standard that it
>> currently exists. The committee seemed to prefer another name. Clearly
>> pop_front()==remove_prefix(1), so I don't see an urgent need to add
>
> Not really, semantics are different if range is empty. Remove_prefix
> and remove_suffix aren't symmetric in that case either.

Now that I'm looking at them again, I think I gave
remove_{prefix,suffix} the wrong semantics. If n>size(), remove_prefix
throws out_of_range, while remove_suffix returns the whole string.
That can't be right. Should they be:

remove_prefix(n) is equivalent to "*this = substr(min(n, size()), npos)"
remove_suffix(n) is equivalent to "*this = substr(0, size() - min(n, size()))"

Or should they Require that n <= size()?

> I like pop_back() much better, it's not a problem in
> boost::iterator_range (AFAIK) and I've no idea what destroying a char
> would imply.
> The difference with an owning container is already indicated by the type name.

I thought pop_back was fine, but the committee disagreed, so it's
changed. You seem to like assuming away programmer mistakes, while I
and the committee want to catch as many as possible within the bounds
of C++, so we're likely to disagree on things like this.

> Wouldn't clear() have to be removed too?

Apparently not. Nobody objected to it.

>> another method for this purpose. If I get clear direction from the
>> committee that they want to overload pop_front to have this meaning,
>> I'd be happy to change it back, but I don't expect to get that
>> direction.
>
>> Also, sorry for forgetting your .data()/.size() constructor
>> suggestion. I've added a TODO to my local copy of the paper so I won't
>> forget it again.
>
> Using data() and size() probably isn't right, it should be begin() and
> end(). The point is being able to construct a string_ref from other
> string-like types.

We'll have to wait for contiguous_iterator_tag then, or take Beman's
suggestion for string_ref_begin() (contiguous_begin()? ew, wart.). I'm
happy with leaving that constructor out of string_ref for the
initially standardized version and adding it later. string_ref doesn't
have to be complete the first time, it just has to be better than what
we have.

>> starts_with(), ends_with()
>
> Is a non-member variant being provided too? Otherwise it's not easily
> usable on std::string and other string-like types.

No, the paper includes, "The non-member equivalents produce calls that
are somewhat ambiguous between starts_with(haystack, needle) vs
starts_with(needle, haystack), while haystack.starts_with(needle) is
the only English reading of the member version. These queries apply
equally well to basic_string, so I've added them there too."

Zhihao and you got the syntax I expect for non-string_ref types:
string_ref("prefixtree").starts_with("prefix")

> BTW, don't forget my comments at
> https://groups.google.com/a/isocpp.org/forum/?hl=en&fromgroups=#!topic/std-proposals/ZUnktXzj0RE

I think I've answered all of them now. What have I missed?

--




.


Author: Olaf van der Spek <olafvdspek@gmail.com>
Date: Fri, 4 Jan 2013 21:54:50 +0100
Raw View
On Fri, Jan 4, 2013 at 7:59 PM, Jeffrey Yasskin <jyasskin@googlers.com> wrote:
> Note that the feedback we need from this list is not "which target
> should we aim for". It's "which pieces are right and wrong".

Ah, ok

>>> Beman may have other tradeoffs to add.
>>>
>>>> std::string, vector and boost::iterator_range have pop_front() and
>>>> pop_back(). String_ref isn't a container but pop_front() and pop_back()
>>>> would still be useful. Could they be added?
>>>> Maybe pop_front(size_t n) could also be added (instead of remove_prefix)?
>>>
>>> When we discussed N3350
>>> (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3350.html#classstd_1_1range_1a3c743e4e4b85290682234af4c2d7e50f),
>>> there was an argument that pop_front is expected to destroy the
>>> elements it pops, since it does so everywhere in the standard that it
>>> currently exists. The committee seemed to prefer another name. Clearly
>>> pop_front()==remove_prefix(1), so I don't see an urgent need to add
>>
>> Not really, semantics are different if range is empty. Remove_prefix
>> and remove_suffix aren't symmetric in that case either.
>
> Now that I'm looking at them again, I think I gave
> remove_{prefix,suffix} the wrong semantics. If n>size(), remove_prefix
> throws out_of_range, while remove_suffix returns the whole string.
> That can't be right. Should they be:
>
> remove_prefix(n) is equivalent to "*this = substr(min(n, size()), npos)"
> remove_suffix(n) is equivalent to "*this = substr(0, size() - min(n, size()))"
>
> Or should they Require that n <= size()?

I'd go for the latter. Those functions are defined as noexcept.

>> I like pop_back() much better, it's not a problem in
>> boost::iterator_range (AFAIK) and I've no idea what destroying a char
>> would imply.
>> The difference with an owning container is already indicated by the type name.
>
> I thought pop_back was fine, but the committee disagreed, so it's
> changed. You seem to like assuming away programmer mistakes, while I
> and the committee want to catch as many as possible within the bounds
> of C++, so we're likely to disagree on things like this.

I'm not sure that's it.
pop_back() is existing practice in both Boost and D (and the idea was
to standardize existing practice wasn't it?)
Textually pop_back and remove_suffix seem equivalent (to me), nothing
tells me their behaviour is (kinda) different.
Would remove_suffix(1) really avoid mistakes?

http://dlang.org/phobos/std_range.html

>> Wouldn't clear() have to be removed too?
>
> Apparently not. Nobody objected to it.

Seems inconsistent.

> We'll have to wait for contiguous_iterator_tag then, or take Beman's
> suggestion for string_ref_begin() (contiguous_begin()? ew, wart.). I'm
> happy with leaving that constructor out of string_ref for the
> initially standardized version and adding it later. string_ref doesn't
> have to be complete the first time, it just has to be better than what
> we have.

That's easy :p
Waiting for contiguous_iterator_tag or explicit charT* seems fine.

>>> starts_with(), ends_with()
>>
>> Is a non-member variant being provided too? Otherwise it's not easily
>> usable on std::string and other string-like types.
>
> No, the paper includes, "The non-member equivalents produce calls that
> are somewhat ambiguous between starts_with(haystack, needle) vs
> starts_with(needle, haystack), while haystack.starts_with(needle) is
> the only English reading of the member version. These queries apply
> equally well to basic_string, so I've added them there too."
>
> Zhihao and you got the syntax I expect for non-string_ref types:
> string_ref("prefixtree").starts_with("prefix")

Having to include "string_ref" there doesn't seem entirely right.

>> BTW, don't forget my comments at
>> https://groups.google.com/a/isocpp.org/forum/?hl=en&fromgroups=#!topic/std-proposals/ZUnktXzj0RE
>
> I think I've answered all of them now. What have I missed?

The 3 stoi overloads, they look unclean. Wouldn't adding an overload
also have the potential to break code die to ambiguity?


--
Olaf

--




.


Author: Jeffrey Yasskin <jyasskin@googlers.com>
Date: Fri, 4 Jan 2013 13:58:32 -0800
Raw View
On Fri, Jan 4, 2013 at 12:54 PM, Olaf van der Spek <olafvdspek@gmail.com> wrote:
> On Fri, Jan 4, 2013 at 7:59 PM, Jeffrey Yasskin <jyasskin@googlers.com> wrote:
>> Now that I'm looking at them again, I think I gave
>> remove_{prefix,suffix} the wrong semantics. If n>size(), remove_prefix
>> throws out_of_range, while remove_suffix returns the whole string.
>> That can't be right. Should they be:
>>
>> remove_prefix(n) is equivalent to "*this = substr(min(n, size()), npos)"
>> remove_suffix(n) is equivalent to "*this = substr(0, size() - min(n, size()))"
>>
>> Or should they Require that n <= size()?
>
> I'd go for the latter. Those functions are defined as noexcept.

noexcept would imply the first, I think. We don't generally have
noexcept functions with Requires clauses. (I'm sure there are some,
but for example string::front() isn't noexcept.) Google's and LLVM's
versions of this, though, assert(size()>=n).

>>> I like pop_back() much better, it's not a problem in
>>> boost::iterator_range (AFAIK) and I've no idea what destroying a char
>>> would imply.
>>> The difference with an owning container is already indicated by the type name.
>>
>> I thought pop_back was fine, but the committee disagreed, so it's
>> changed. You seem to like assuming away programmer mistakes, while I
>> and the committee want to catch as many as possible within the bounds
>> of C++, so we're likely to disagree on things like this.
>
> I'm not sure that's it.
> pop_back() is existing practice in both Boost and D (and the idea was
> to standardize existing practice wasn't it?)

remove_back is existing practice in Google's version of this. LLVM's
version uses drop_back. Bloomberg doesn't define it. So I don't think
existing practice decides this.

> Textually pop_back and remove_suffix seem equivalent (to me), nothing
> tells me their behaviour is (kinda) different.
> Would remove_suffix(1) really avoid mistakes?
>
> http://dlang.org/phobos/std_range.html
>
>>> BTW, don't forget my comments at
>>> https://groups.google.com/a/isocpp.org/forum/?hl=en&fromgroups=#!topic/std-proposals/ZUnktXzj0RE
>>
>> I think I've answered all of them now. What have I missed?
>
> The 3 stoi overloads, they look unclean. Wouldn't adding an overload
> also have the potential to break code die to ambiguity?

If a class has an implicit conversion to both const char* and
std::string (or has a template conversion operator), and is being
passed directly to stoi(), that could break. This seems less likely
than either that const char* is being passed to stoi() or that a class
with only an implicit conversion to std::string is being passed.

It's definitely annoying to have to deal with backwards compatibility
like this, but string_ref exists primarily for the convenience of
people using C++, and only secondarily to clean up the standard.

Jeffrey

--




.


Author: Olaf van der Spek <olafvdspek@gmail.com>
Date: Fri, 4 Jan 2013 23:11:30 +0100
Raw View
On Fri, Jan 4, 2013 at 10:58 PM, Jeffrey Yasskin <jyasskin@googlers.com> wrote:
>>> Or should they Require that n <= size()?
>>
>> I'd go for the latter. Those functions are defined as noexcept.
>
> noexcept would imply the first, I think. We don't generally have
> noexcept functions with Requires clauses. (I'm sure there are some,
> but for example string::front() isn't noexcept.) Google's and LLVM's
> versions of this, though, assert(size()>=n).

I assumed require would be the precondition and breaking it would be UB.

>>>> I like pop_back() much better, it's not a problem in
>>>> boost::iterator_range (AFAIK) and I've no idea what destroying a char
>>>> would imply.
>>>> The difference with an owning container is already indicated by the type name.
>>>
>>> I thought pop_back was fine, but the committee disagreed, so it's
>>> changed. You seem to like assuming away programmer mistakes, while I
>>> and the committee want to catch as many as possible within the bounds
>>> of C++, so we're likely to disagree on things like this.
>>
>> I'm not sure that's it.
>> pop_back() is existing practice in both Boost and D (and the idea was
>> to standardize existing practice wasn't it?)
>
> remove_back is existing practice in Google's version of this. LLVM's
> version uses drop_back. Bloomberg doesn't define it. So I don't think
> existing practice decides this.

All use back instead of suffix.
LLVM's defaults N to 1. Is Google's version public?

>> Textually pop_back and remove_suffix seem equivalent (to me), nothing
>> tells me their behaviour is (kinda) different.
>> Would remove_suffix(1) really avoid mistakes?
>>
>> http://dlang.org/phobos/std_range.html



--
Olaf

--




.


Author: Jeffrey Yasskin <jyasskin@googlers.com>
Date: Fri, 4 Jan 2013 14:16:02 -0800
Raw View
On Fri, Jan 4, 2013 at 2:11 PM, Olaf van der Spek <olafvdspek@gmail.com> wrote:
> On Fri, Jan 4, 2013 at 10:58 PM, Jeffrey Yasskin <jyasskin@googlers.com> wrote:
>> remove_back is existing practice in Google's version of this. LLVM's
>> version uses drop_back. Bloomberg doesn't define it. So I don't think
>> existing practice decides this.
>
> All use back instead of suffix.
> LLVM's defaults N to 1. Is Google's version public?

https://code.google.com/p/re2/source/browse/re2/stringpiece.h,
http://www.icu-project.org/apiref/icu4c/classicu_1_1StringPiece.html,
and https://code.google.com/searchframe#OAMlx_jo-ck/src/base/string_piece.h&type=cs&l=102
(Chrome) all look derived from Google's version. I typo'ed
remove_back, it's actually remove_suffix.

--




.


Author: Gabriel Dos Reis <gdr@axiomatics.org>
Date: Fri, 04 Jan 2013 17:43:36 -0600
Raw View
Olaf van der Spek <olafvdspek@gmail.com> writes:

[...]

| > I thought pop_back was fine, but the committee disagreed, so it's
| > changed. You seem to like assuming away programmer mistakes, while I
| > and the committee want to catch as many as possible within the bounds
| > of C++, so we're likely to disagree on things like this.
|
| I'm not sure that's it.
| pop_back() is existing practice in both Boost and D (and the idea was
| to standardize existing practice wasn't it?)

No, we are not required to standardize "existing practice" if in
hindsight it is not such a bright idea.

--




.


Author: Beman Dawes <bdawes@acm.org>
Date: Sat, 5 Jan 2013 08:52:00 -0500
Raw View
On Wed, Jan 2, 2013 at 12:08 AM, Jeffrey Yasskin <jyasskin@googlers.com> wrote:
> On Fri, Dec 28, 2012 at 8:04 AM, Olaf van der Spek <olafvdspek@gmail.com> wrote:
>> On Thursday, December 27, 2012 12:44:38 AM UTC+1, Jeffrey Yasskin wrote:
>>>
.....
>>> The LWG is still deciding whether this should aim for a TS or C++14
>>> (or both?), and feedback from here will help inform that decision.
>>>
>> What are the pros and cons?
>
> Overall, we want string_ref in an official document of some sort as
> soon as possible so that other TS'en can depend on it.

Agreed.

> The bar for including string_ref in a TS is lower, so it's more likely
> string_ref would get into the next one. It would also serve as initial
> content for the "utility" TS, which may make it easier to add new
> things. Putting it in a TS will allow us to change the class in
> incompatible ways if we discover problems. However, a TS will be
> explicitly beta and may require user code that adopts string_ref to
> change the namespace of the class it uses when string_ref is
> incorporated into a future C++ standard, even if we don't make any
> changes to the class.

That's a nice summary of the TS target.

> C++14 is more official and is a firmer basis for other TS'en. If we
> have consensus that string_ref is the right thing to do, we shouldn't
> delay it artificially by including an unnecessary TS step. Putting it
> directly into the draft standard would let us stop discussing the
> whole proposal repeatedly and just discuss changes. (It's possible
> putting it in a TS would have the same effect, but I'm less confident
> of that.)

Having "consensus that string_ref is the right thing to do" with
reasonably correct proposed wording is good enough for a TS, but for
the standard itself there are a lot of additional hurdles.  Some
committee members may want more real-world experience, others may be
concerned about the volume of changes to existing components, the
impact on books about C++, possible ABI breakage, maturity of wording,
impact on teaching, etc. These concerns often come from folks who do
not follow the doings of the LWG closely, so only arise late in the
process and tend to delay progress. Whether any of these concerns will
arise for string_ref is hard to predict, but I'd would not be
surprised if at least a few of them surface.

> Beman may have other tradeoffs to add.

I rate the probability of finishing technical work on a Library
Utility TS in 2013 as 70% or better, and by 2014 as 95%. I rate the
probability of finishing technical work on C++14 in 2013 as 25%, by
2014 as 65%, and by 2015 as 95%.

Remember too that if other TS's are gated on string_ref, and
string_ref is part of C++14, we would have to hold the other TS's
waiting for a delayed C++14.

--Beman

--




.


Author: Jeffrey Yasskin <jyasskin@googlers.com>
Date: Thu, 10 Jan 2013 16:54:08 -0800
Raw View
I've uploaded a new version to
http://jeffrey.yasskin.info/cxx/2012/string_ref.html with updates from
this thread. I'm planning to send this off to Clark tomorrow, although
if https://groups.google.com/a/isocpp.org/d/topic/std-proposals/5sW8yp5i8mo/discussion
keeps agreeing on string_view, I may switch to that name first.

On Wed, Dec 26, 2012 at 3:44 PM, Jeffrey Yasskin <jyasskin@googlers.com> wrote:
> Hi folks,
>
> I finally have an update for the string_ref proposal, converting it to
> a set of changes against the C++14 draft. The most recent version
> lives at https://github.com/google/cxx-std-draft/blob/string-ref-paper/string_ref.html,
> and I've attached a snapshot.
>
> The LWG is still deciding whether this should aim for a TS or C++14
> (or both?), and feedback from here will help inform that decision.
> This paper currently assumes C++14.
>
> Let me know what you think,
> Jeffrey Yasskin

--




.


Author: Nicol Bolas <jmckesson@gmail.com>
Date: Thu, 10 Jan 2013 17:48:09 -0800 (PST)
Raw View
------=_Part_361_31299157.1357868889998
Content-Type: text/plain; charset=ISO-8859-1



On Thursday, January 10, 2013 4:54:08 PM UTC-8, Jeffrey Yasskin wrote:
>
> I've uploaded a new version to
> http://jeffrey.yasskin.info/cxx/2012/string_ref.html with updates from
> this thread. I'm planning to send this off to Clark tomorrow, although
> if
> https://groups.google.com/a/isocpp.org/d/topic/std-proposals/5sW8yp5i8mo/discussion
> keeps agreeing on string_view, I may switch to that name first.
>

In the section on user-defined conversion, you said:

Ultimately, I think we want to allow this conversion based on detecting
> contiguous ranges. Any constructor we add to work around that is going to
> look like a wart in a couple years. I think we'll be better off making
> users explicitly convert when they can't add an appropriate conversion
> operator, and then we can add the optimal constructor when contiguous
> iterators make it into the library.
>

This assumes that every string type out there can be detected as a
"contiguous range", which is a concept that doesn't exist even in
Boost.Range. It's hard to know what users would have to provide or if such
things can be provided without modifying the type.

Also, it seems to put on a significant short-term problem over a long-term
goal, when it's not entirely clear how long term this goal will be. Or if
the eventual contiguous iterator and contiguous range proposals will even
fit into the needs for basic_string_ref. Current discussions on the Range
mailing list are starting to talk about things like ranges as primitive
types with *no iterators*. If they go that route, I'm not sure if that's
going to be a viable solution for basic_string_ref going forward.

I don't like the idea of making a proposal somewhat incomplete (you do
recognize the need for user-defined conversions) on the assumption that in
a year or two someone will come along with a fix. I say we give the user
the ability to provide something that will work and be extensible now. If
the eventual Range proposal comes along that can't handle things this way,
then we already have our solution. If another solution appears, we can use
that. It may leave a wart, but it will be a very small and harmless one.
And it's not like anyone will really notice one more wart in our string
classes...

--




------=_Part_361_31299157.1357868889998
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br>On Thursday, January 10, 2013 4:54:08 PM UTC-8, Jeffrey Yasskin wro=
te:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;=
border-left: 1px #ccc solid;padding-left: 1ex;">I've uploaded a new version=
 to
<br><a href=3D"http://jeffrey.yasskin.info/cxx/2012/string_ref.html" target=
=3D"_blank">http://jeffrey.yasskin.info/<wbr>cxx/2012/string_ref.html</a> w=
ith updates from
<br>this thread. I'm planning to send this off to Clark tomorrow, although
<br>if <a href=3D"https://groups.google.com/a/isocpp.org/d/topic/std-propos=
als/5sW8yp5i8mo/discussion" target=3D"_blank">https://groups.google.com/a/<=
wbr>isocpp.org/d/topic/std-<wbr>proposals/5sW8yp5i8mo/<wbr>discussion</a>
<br>keeps agreeing on string_view, I may switch to that name first.
<br></blockquote><div><br>In the section on user-defined conversion, you sa=
id:<br><br><blockquote style=3D"margin: 0px 0px 0px 0.8ex; border-left: 1px=
 solid rgb(204, 204, 204); padding-left: 1ex;" class=3D"gmail_quote">Ultima=
tely, I think we want to allow this conversion based on detecting
contiguous ranges. Any constructor we add to work around that is going to
look like a wart in a couple years. I think we'll be better off making
users explicitly convert when they can't add an appropriate conversion
operator, and then we can add the optimal constructor when contiguous
iterators make it into the library.<br></blockquote><br>This assumes that e=
very string type out there can be detected as a "contiguous range", which i=
s a concept that doesn't exist even in Boost.Range. It's hard to know what =
users would have to provide or if such things can be provided without modif=
ying the type.<br><br>Also, it seems to put on a significant short-term pro=
blem over a long-term goal, when it's not entirely clear how long term this=
 goal will be. Or if the eventual contiguous iterator and contiguous range =
proposals will even fit into the needs for basic_string_ref. Current discus=
sions on the Range mailing list are starting to talk about things like rang=
es as primitive types with <i>no iterators</i>. If they go that route, I'm =
not sure if that's going to be a viable solution for basic_string_ref going=
 forward.<br><br>I don't like the idea of making a proposal somewhat incomp=
lete (you do recognize the need for user-defined conversions) on the assump=
tion that in a year or two someone will come along with a fix. I say we giv=
e the user the ability to provide something that will work and be extensibl=
e now. If the eventual Range proposal comes along that can't handle things =
this way, then we already have our solution. If another solution appears, w=
e can use that. It may leave a wart, but it will be a very small and harmle=
ss one. And it's not like anyone will really notice one more wart in our st=
ring classes...<br></div>

<p></p>

-- <br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />

------=_Part_361_31299157.1357868889998--

.


Author: Olaf van der Spek <olafvdspek@gmail.com>
Date: Fri, 11 Jan 2013 09:52:06 +0100
Raw View
On Fri, Jan 11, 2013 at 2:48 AM, Nicol Bolas <jmckesson@gmail.com> wrote:
> I don't like the idea of making a proposal somewhat incomplete (you do
> recognize the need for user-defined conversions) on the assumption that in a
> year or two someone will come along with a fix. I say we give the user the
> ability to provide something that will work and be extensible now. If the
> eventual Range proposal comes along that can't handle things this way, then
> we already have our solution. If another solution appears, we can use that.
> It may leave a wart, but it will be a very small and harmless one. And it's
> not like anyone will really notice one more wart in our string classes...

We don't have to wait a year or two, we could write a proposal to fix
the contiguous range detection issue tomorrow.
Iterators aren't going away any time soon (I expect), so basing a
solution on them seems ok.

I'd go for the addition of an explicit conversion to pointer on
contiguous iterators, such that this works:

std::array<char, 10> v;
char* b(v.begin());
char* e(v.end());

Seems simple and useful in other situations too.
--
Olaf

--




.


Author: Nicol Bolas <jmckesson@gmail.com>
Date: Fri, 11 Jan 2013 01:43:55 -0800 (PST)
Raw View
------=_Part_483_20621667.1357897435908
Content-Type: text/plain; charset=ISO-8859-1



On Friday, January 11, 2013 12:52:06 AM UTC-8, Olaf van der Spek wrote:
>
> On Fri, Jan 11, 2013 at 2:48 AM, Nicol Bolas <jmck...@gmail.com<javascript:>>
> wrote:
> > I don't like the idea of making a proposal somewhat incomplete (you do
> > recognize the need for user-defined conversions) on the assumption that
> in a
> > year or two someone will come along with a fix. I say we give the user
> the
> > ability to provide something that will work and be extensible now. If
> the
> > eventual Range proposal comes along that can't handle things this way,
> then
> > we already have our solution. If another solution appears, we can use
> that.
> > It may leave a wart, but it will be a very small and harmless one. And
> it's
> > not like anyone will really notice one more wart in our string
> classes...
>
> We don't have to wait a year or two, we could write a proposal to fix
> the contiguous range detection issue tomorrow.
>

True. But if we put basic_string_ref/view into a TS, it won't necessarily
have the contiguous range fix as part of the TS. So there will be no
extensibility mechanism. Also, if that proposal doesn't make it for C++14
and this one does, then again, we won't have an extensibility mechanism.

This is one of those "system integration" problems that comes with having
multiple proposals in parallel, all with dependencies on each other. A
proposal that has progessed farther handwaves some of its features by
saying, "well, that proposal will take care of that case," rather than
dealing with the problem internally and being functionally complete.

At the very least, there should be some fall-back mechanism in this
proposal which can be used if the real fix isn't available by the time the
final paper, whether a TS or C++14, is released. At least that way, we can
be sure that this proposal will stand on its own.

Oh, and one of the nice things about TS's is that you can change them when
you pull them into the standard. So we don't have to stick to an
extensibility mechanism we don't like when we move the class to C++14
standard.

--




------=_Part_483_20621667.1357897435908
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br>On Friday, January 11, 2013 12:52:06 AM UTC-8, Olaf van der Spek wr=
ote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex=
;border-left: 1px #ccc solid;padding-left: 1ex;">On Fri, Jan 11, 2013 at 2:=
48 AM, Nicol Bolas &lt;<a href=3D"javascript:" target=3D"_blank" gdf-obfusc=
ated-mailto=3D"UGfzw6u2ssYJ">jmck...@gmail.com</a>&gt; wrote:
<br>&gt; I don't like the idea of making a proposal somewhat incomplete (yo=
u do
<br>&gt; recognize the need for user-defined conversions) on the assumption=
 that in a
<br>&gt; year or two someone will come along with a fix. I say we give the =
user the
<br>&gt; ability to provide something that will work and be extensible now.=
 If the
<br>&gt; eventual Range proposal comes along that can't handle things this =
way, then
<br>&gt; we already have our solution. If another solution appears, we can =
use that.
<br>&gt; It may leave a wart, but it will be a very small and harmless one.=
 And it's
<br>&gt; not like anyone will really notice one more wart in our string cla=
sses...
<br>
<br>We don't have to wait a year or two, we could write a proposal to fix
<br>the contiguous range detection issue tomorrow.
<br></blockquote><div><br>True. But if we put basic_string_ref/view into a =
TS, it won't necessarily have the contiguous range fix as part of the TS. S=
o there will be no extensibility mechanism. Also, if that proposal doesn't =
make it for C++14 and this one does, then again, we won't have an extensibi=
lity mechanism.<br><br>This is one of those "system integration" problems t=
hat comes with having multiple proposals in parallel, all with dependencies=
 on each other. A proposal that has progessed farther handwaves some of its=
 features by saying, "well, that proposal will take care of that case," rat=
her than dealing with the problem internally and being functionally complet=
e.<br><br>At the very least, there should be some fall-back mechanism in th=
is proposal which can be used if the real fix isn't available by the time t=
he final paper, whether a TS or C++14, is released. At least that way, we c=
an be sure that this proposal will stand on its own.<br><br>Oh, and one of =
the nice things about TS's is that you can change them when you pull them i=
nto the standard. So we don't have to stick to an extensibility mechanism w=
e don't like when we move the class to C++14 standard.</div><br>

<p></p>

-- <br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />

------=_Part_483_20621667.1357897435908--

.


Author: Olaf van der Spek <olafvdspek@gmail.com>
Date: Fri, 11 Jan 2013 11:15:05 +0100
Raw View
On Fri, Jan 11, 2013 at 10:43 AM, Nicol Bolas <jmckesson@gmail.com> wrote:
>> We don't have to wait a year or two, we could write a proposal to fix
>> the contiguous range detection issue tomorrow.
>
>
> True. But if we put basic_string_ref/view into a TS, it won't necessarily
> have the contiguous range fix as part of the TS. So there will be no
> extensibility mechanism. Also, if that proposal doesn't make it for C++14
> and this one does, then again, we won't have an extensibility mechanism.

Actually can't we just define operator string_ref() on other classes?

> Oh, and one of the nice things about TS's is that you can change them when
> you pull them into the standard. So we don't have to stick to an
> extensibility mechanism we don't like when we move the class to C++14
> standard.

You can, but breaking compatibility still isn't nice.


--
Olaf

--




.


Author: Nevin Liber <nevin@eviloverlord.com>
Date: Fri, 11 Jan 2013 09:18:27 -0600
Raw View
--001517475cb0124dc804d304d184
Content-Type: text/plain; charset=ISO-8859-1

On 11 January 2013 02:52, Olaf van der Spek <olafvdspek@gmail.com> wrote:

> We don't have to wait a year or two, we could write a proposal to fix
> the contiguous range detection issue tomorrow.
>

FYI:  I'm working on a contiguous_iterator_tag proposal for Bristol (but it
probably won't be done before the mailing deadline next week).
--
 Nevin ":-)" Liber  <mailto:nevin@eviloverlord.com>  (847) 691-1404

--




--001517475cb0124dc804d304d184
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 11 January 2013 02:52, Olaf van der Spek <span dir=3D"ltr">&lt;<a href=
=3D"mailto:olafvdspek@gmail.com" target=3D"_blank">olafvdspek@gmail.com</a>=
&gt;</span> wrote:<br><div class=3D"gmail_quote"><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex">

<div class=3D"im">We don&#39;t have to wait a year or two, we could write a=
 proposal to fix</div>
the contiguous range detection issue tomorrow.<br></blockquote><div><br></d=
iv><div>FYI: =A0I&#39;m working on a contiguous_iterator_tag proposal for B=
ristol (but it probably won&#39;t be done before the mailing deadline next =
week).</div>

</div>-- <br>=A0Nevin &quot;:-)&quot; Liber=A0 &lt;mailto:<a href=3D"mailto=
:nevin@eviloverlord.com" target=3D"_blank">nevin@eviloverlord.com</a>&gt;=
=A0 (847) 691-1404

<p></p>

-- <br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />

--001517475cb0124dc804d304d184--

.


Author: Olaf van der Spek <olafvdspek@gmail.com>
Date: Fri, 11 Jan 2013 16:35:36 +0100
Raw View
On Fri, Jan 11, 2013 at 4:18 PM, Nevin Liber <nevin@eviloverlord.com> wrote:
> On 11 January 2013 02:52, Olaf van der Spek <olafvdspek@gmail.com> wrote:
>>
>> We don't have to wait a year or two, we could write a proposal to fix
>> the contiguous range detection issue tomorrow.
>
>
> FYI:  I'm working on a contiguous_iterator_tag proposal for Bristol (but it
> probably won't be done before the mailing deadline next week).

Great!
Isn't that deadline today though?

Could you also consider a conversion operator to T* for such iterators?

--
Olaf

--




.


Author: Nevin Liber <nevin@eviloverlord.com>
Date: Fri, 11 Jan 2013 10:02:13 -0600
Raw View
--0015174c0bfcab120f04d3056d71
Content-Type: text/plain; charset=ISO-8859-1

On 11 January 2013 09:35, Olaf van der Spek <olafvdspek@gmail.com> wrote:

> On Fri, Jan 11, 2013 at 4:18 PM, Nevin Liber <nevin@eviloverlord.com>
> wrote:
> > On 11 January 2013 02:52, Olaf van der Spek <olafvdspek@gmail.com>
> wrote:
> >>
> >> We don't have to wait a year or two, we could write a proposal to fix
> >> the contiguous range detection issue tomorrow.
> >
> >
> > FYI:  I'm working on a contiguous_iterator_tag proposal for Bristol (but
> it
> > probably won't be done before the mailing deadline next week).
>
> Great!
> Isn't that deadline today though?
>

It could be, in which case it still won't be done by this mailing..


> Could you also consider a conversion operator to T* for such iterators?


Yes, I am putting that in there (leaning against requiring a conversion
from T* to iterator, though).
--
 Nevin ":-)" Liber  <mailto:nevin@eviloverlord.com>  (847) 691-1404

--




--0015174c0bfcab120f04d3056d71
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 11 January 2013 09:35, Olaf van der Spek <span dir=3D"ltr">&lt;<a href=
=3D"mailto:olafvdspek@gmail.com" target=3D"_blank">olafvdspek@gmail.com</a>=
&gt;</span> wrote:<br><div class=3D"gmail_quote"><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex">

<div class=3D"im">On Fri, Jan 11, 2013 at 4:18 PM, Nevin Liber &lt;<a href=
=3D"mailto:nevin@eviloverlord.com">nevin@eviloverlord.com</a>&gt; wrote:<br=
>
&gt; On 11 January 2013 02:52, Olaf van der Spek &lt;<a href=3D"mailto:olaf=
vdspek@gmail.com">olafvdspek@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; We don&#39;t have to wait a year or two, we could write a proposal=
 to fix<br>
&gt;&gt; the contiguous range detection issue tomorrow.<br>
&gt;<br>
&gt;<br>
&gt; FYI: =A0I&#39;m working on a contiguous_iterator_tag proposal for Bris=
tol (but it<br>
&gt; probably won&#39;t be done before the mailing deadline next week).<br>
<br>
</div>Great!<br>
Isn&#39;t that deadline today though?<br></blockquote><div><br></div><div>I=
t could be, in which case it still won&#39;t be done by this mailing..</div=
><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">

Could you also consider a conversion operator to T* for such iterators?</bl=
ockquote><div><br></div><div>Yes, I am putting that in there (leaning again=
st requiring a conversion from T* to iterator, though).=A0</div></div>-- <b=
r>

=A0Nevin &quot;:-)&quot; Liber=A0 &lt;mailto:<a href=3D"mailto:nevin@evilov=
erlord.com" target=3D"_blank">nevin@eviloverlord.com</a>&gt;=A0 (847) 691-1=
404

<p></p>

-- <br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />

--0015174c0bfcab120f04d3056d71--

.


Author: Nicol Bolas <jmckesson@gmail.com>
Date: Fri, 11 Jan 2013 08:17:10 -0800 (PST)
Raw View
------=_Part_885_9256226.1357921030997
Content-Type: text/plain; charset=ISO-8859-1



On Friday, January 11, 2013 2:15:05 AM UTC-8, Olaf van der Spek wrote:
>
> On Fri, Jan 11, 2013 at 10:43 AM, Nicol Bolas <jmck...@gmail.com<javascript:>>
> wrote:
> >> We don't have to wait a year or two, we could write a proposal to fix
> >> the contiguous range detection issue tomorrow.
> >
> >
> > True. But if we put basic_string_ref/view into a TS, it won't
> necessarily
> > have the contiguous range fix as part of the TS. So there will be no
> > extensibility mechanism. Also, if that proposal doesn't make it for
> C++14
> > and this one does, then again, we won't have an extensibility mechanism.
>
> Actually can't we just define operator string_ref() on other classes?
>

The point would be for code we don't own. Like CString and the myriad of
other string classes used by the multitude of C++ libraries out there.

--




------=_Part_885_9256226.1357921030997
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br>On Friday, January 11, 2013 2:15:05 AM UTC-8, Olaf van der Spek wro=
te:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;=
border-left: 1px #ccc solid;padding-left: 1ex;">On Fri, Jan 11, 2013 at 10:=
43 AM, Nicol Bolas &lt;<a href=3D"javascript:" target=3D"_blank" gdf-obfusc=
ated-mailto=3D"2l1xFndYWGMJ">jmck...@gmail.com</a>&gt; wrote:
<br>&gt;&gt; We don't have to wait a year or two, we could write a proposal=
 to fix
<br>&gt;&gt; the contiguous range detection issue tomorrow.
<br>&gt;
<br>&gt;
<br>&gt; True. But if we put basic_string_ref/view into a TS, it won't nece=
ssarily
<br>&gt; have the contiguous range fix as part of the TS. So there will be =
no
<br>&gt; extensibility mechanism. Also, if that proposal doesn't make it fo=
r C++14
<br>&gt; and this one does, then again, we won't have an extensibility mech=
anism.
<br>
<br>Actually can't we just define operator string_ref() on other classes?<b=
r></blockquote><div><br>The point would be for code we don't own. Like CStr=
ing and the myriad of other string classes used by the multitude of C++ lib=
raries out there.</div><br>

<p></p>

-- <br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />

------=_Part_885_9256226.1357921030997--

.


Author: Olaf van der Spek <olafvdspek@gmail.com>
Date: Fri, 11 Jan 2013 17:30:44 +0100
Raw View
On Fri, Jan 11, 2013 at 5:17 PM, Nicol Bolas <jmckesson@gmail.com> wrote:
> The point would be for code we don't own. Like CString and the myriad of
> other string classes used by the multitude of C++ libraries out there.

I hope the owners of these libs include support themselves.


--
Olaf

--




.


Author: Nicol Bolas <jmckesson@gmail.com>
Date: Fri, 11 Jan 2013 09:08:06 -0800 (PST)
Raw View
------=_Part_476_25061080.1357924086518
Content-Type: text/plain; charset=ISO-8859-1



On Friday, January 11, 2013 8:30:44 AM UTC-8, Olaf van der Spek wrote:
>
> On Fri, Jan 11, 2013 at 5:17 PM, Nicol Bolas <jmck...@gmail.com<javascript:>>
> wrote:
> > The point would be for code we don't own. Like CString and the myriad of
> > other string classes used by the multitude of C++ libraries out there.
>
> I hope the owners of these libs include support themselves.
>

Reality always ensues. That's why we like customization points to be free
functions, so that they can be implemented without modifying the class.

--




------=_Part_476_25061080.1357924086518
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br>On Friday, January 11, 2013 8:30:44 AM UTC-8, Olaf van der Spek wro=
te:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;=
border-left: 1px #ccc solid;padding-left: 1ex;">On Fri, Jan 11, 2013 at 5:1=
7 PM, Nicol Bolas &lt;<a href=3D"javascript:" target=3D"_blank" gdf-obfusca=
ted-mailto=3D"JZCiA7j1hBQJ">jmck...@gmail.com</a>&gt; wrote:
<br>&gt; The point would be for code we don't own. Like CString and the myr=
iad of
<br>&gt; other string classes used by the multitude of C++ libraries out th=
ere.
<br>
<br>I hope the owners of these libs include support themselves.
<br></blockquote><div><br>Reality always ensues. That's why we like customi=
zation points to be free functions, so that they can be implemented without=
 modifying the class.<br></div>

<p></p>

-- <br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />

------=_Part_476_25061080.1357924086518--

.


Author: Jeffrey Yasskin <jyasskin@googlers.com>
Date: Fri, 11 Jan 2013 09:46:54 -0800
Raw View
On Fri, Jan 11, 2013 at 9:08 AM, Nicol Bolas <jmckesson@gmail.com> wrote:
>
>
> On Friday, January 11, 2013 8:30:44 AM UTC-8, Olaf van der Spek wrote:
>>
>> On Fri, Jan 11, 2013 at 5:17 PM, Nicol Bolas <jmck...@gmail.com> wrote:
>> > The point would be for code we don't own. Like CString and the myriad of
>> > other string classes used by the multitude of C++ libraries out there.
>>
>> I hope the owners of these libs include support themselves.
>
>
> Reality always ensues. That's why we like customization points to be free
> functions, so that they can be implemented without modifying the class.

See also https://groups.google.com/a/isocpp.org/d/msg/std-proposals/8t5EFJfLn0I/26ihRCq8N2sJ.
I'm unconvinced that there's enough benefit from making up an external
adaptation mechanism to outweigh the fact that we know it's going to
be obsolete "soon", so it won't be in this mailing's paper. If there's
an outcry from more people, I can always add it to the pre-Bristol
mailing.

Thanks,
Jeffrey

--




.


Author: Nicol Bolas <jmckesson@gmail.com>
Date: Fri, 11 Jan 2013 10:08:56 -0800 (PST)
Raw View
------=_Part_397_23289814.1357927736274
Content-Type: text/plain; charset=ISO-8859-1



On Friday, January 11, 2013 9:46:54 AM UTC-8, Jeffrey Yasskin wrote:
>
> On Fri, Jan 11, 2013 at 9:08 AM, Nicol Bolas <jmck...@gmail.com<javascript:>>
> wrote:
> >
> >
> > On Friday, January 11, 2013 8:30:44 AM UTC-8, Olaf van der Spek wrote:
> >>
> >> On Fri, Jan 11, 2013 at 5:17 PM, Nicol Bolas <jmck...@gmail.com>
> wrote:
> >> > The point would be for code we don't own. Like CString and the myriad
> of
> >> > other string classes used by the multitude of C++ libraries out
> there.
> >>
> >> I hope the owners of these libs include support themselves.
> >
> >
> > Reality always ensues. That's why we like customization points to be
> free
> > functions, so that they can be implemented without modifying the class.
>
> See also
> https://groups.google.com/a/isocpp.org/d/msg/std-proposals/8t5EFJfLn0I/26ihRCq8N2sJ.
>
>

That's going to be no less of a problem than the eventual solution with
contiguous iterators/ranges, because they'll still have to use existing
customization points to expose them (std::begin/end). And those can still
conflict between libraries. So I don't see how the eventual solution fixes
this problem.

Also, I'm not sure I see the logic in not providing this for that reason.
Given users of libraries A and users of libraries B, the only people who
will encounter that problem are the intersection of those users. You are
suggesting that we inconvenience the *union* of the users of libraries A
and B. That's hurting a lot more people, which seems to me to not be a good
thing.

--




------=_Part_397_23289814.1357927736274
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br>On Friday, January 11, 2013 9:46:54 AM UTC-8, Jeffrey Yasskin wrote=
:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;bo=
rder-left: 1px #ccc solid;padding-left: 1ex;">On Fri, Jan 11, 2013 at 9:08 =
AM, Nicol Bolas &lt;<a href=3D"javascript:" target=3D"_blank" gdf-obfuscate=
d-mailto=3D"U5E65XnkK_IJ">jmck...@gmail.com</a>&gt; wrote:
<br>&gt;
<br>&gt;
<br>&gt; On Friday, January 11, 2013 8:30:44 AM UTC-8, Olaf van der Spek wr=
ote:
<br>&gt;&gt;
<br>&gt;&gt; On Fri, Jan 11, 2013 at 5:17 PM, Nicol Bolas &lt;<a>jmck...@gm=
ail.com</a>&gt; wrote:
<br>&gt;&gt; &gt; The point would be for code we don't own. Like CString an=
d the myriad of
<br>&gt;&gt; &gt; other string classes used by the multitude of C++ librari=
es out there.
<br>&gt;&gt;
<br>&gt;&gt; I hope the owners of these libs include support themselves.
<br>&gt;
<br>&gt;
<br>&gt; Reality always ensues. That's why we like customization points to =
be free
<br>&gt; functions, so that they can be implemented without modifying the c=
lass.
<br>
<br>See also <a href=3D"https://groups.google.com/a/isocpp.org/d/msg/std-pr=
oposals/8t5EFJfLn0I/26ihRCq8N2sJ" target=3D"_blank">https://groups.google.c=
om/a/<wbr>isocpp.org/d/msg/std-<wbr>proposals/8t5EFJfLn0I/<wbr>26ihRCq8N2sJ=
</a>.
<br></blockquote><div><br>That's going to be no less of a problem than the =
eventual solution with contiguous iterators/ranges, because they'll still h=
ave to use existing customization points to expose them (std::begin/end). A=
nd those can still conflict between libraries. So I don't see how the event=
ual solution fixes this problem.<br><br>Also, I'm not sure I see the logic =
in not providing this for that reason. Given users of libraries A and users=
 of libraries B, the only people who will encounter that problem are the in=
tersection of those users. You are suggesting that we inconvenience the <i>=
union</i> of the users of libraries A and B. That's hurting a lot more peop=
le, which seems to me to not be a good thing.</div>

<p></p>

-- <br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />

------=_Part_397_23289814.1357927736274--

.


Author: Ville Voutilainen <ville.voutilainen@gmail.com>
Date: Fri, 11 Jan 2013 20:12:15 +0200
Raw View
On 11 January 2013 20:08, Nicol Bolas <jmckesson@gmail.com> wrote:
> Also, I'm not sure I see the logic in not providing this for that reason.
> Given users of libraries A and users of libraries B, the only people who
> will encounter that problem are the intersection of those users. You are
> suggesting that we inconvenience the union of the users of libraries A and
> B. That's hurting a lot more people, which seems to me to not be a good
> thing.

I fail to see what this storm in a teacup is about. I can use the
(const char*, size) constructor
to construct a string_view from most existing library strings.

--




.


Author: tvaneerd@gmail.com
Date: Fri, 11 Jan 2013 11:04:06 -0800 (PST)
Raw View
<head></head><body data-blackberry-caret-color=3D"#00a8df" style=3D"backgro=
und-color: rgb(255, 255, 255);"><div id=3D"BB10_response_div" style=3D"widt=
h:100%;background:#ffffff; font-size: initial;font-family:&quot;Calibri&quo=
t;,&quot;Slate Pro&quot;,&quot;sans-serif&quot;;color:#1f497d">I think the =
issue is auto conversion.&nbsp;</div><div id=3D"BB10_response_div" style=3D=
"width:100%;background:#ffffff; font-size: initial;font-family:&quot;Calibr=
i&quot;,&quot;Slate Pro&quot;,&quot;sans-serif&quot;;color:#1f497d"><br></d=
iv><div id=3D"BB10_response_div" style=3D"width:100%;background:#ffffff; fo=
nt-size: initial;font-family:&quot;Calibri&quot;,&quot;Slate Pro&quot;,&quo=
t;sans-serif&quot;;color:#1f497d">Can a function that takes a string_view a=
utomatically take a CString, or do I need to call a conversion.&nbsp;</div>=
<div id=3D"BB10_response_div" style=3D"width:100%;background:#ffffff; font-=
size: initial;font-family:&quot;Calibri&quot;,&quot;Slate Pro&quot;,&quot;s=
ans-serif&quot;;color:#1f497d"><br></div><div id=3D"BB10_response_div" styl=
e=3D"width:100%;background:#ffffff; font-size: initial;font-family:&quot;Ca=
libri&quot;,&quot;Slate Pro&quot;,&quot;sans-serif&quot;;color:#1f497d">Sor=
ry for topposting.</div><div id=3D"BB10_response_div" style=3D"width:100%;b=
ackground:#ffffff; font-size: initial;font-family:&quot;Calibri&quot;,&quot=
;Slate Pro&quot;,&quot;sans-serif&quot;;color:#1f497d"><br></div><div id=3D=
"BB10_response_div" style=3D"width:100%;background:#ffffff; font-size: init=
ial;font-family:&quot;Calibri&quot;,&quot;Slate Pro&quot;,&quot;sans-serif&=
quot;;color:#1f497d">Tony</div><div id=3D"BB10_response_div" style=3D"width=
:100%;background:#ffffff; font-size: initial;font-family:&quot;Calibri&quot=
;,&quot;Slate Pro&quot;,&quot;sans-serif&quot;;color:#1f497d"><br></div><p =
id=3D"_signaturePlaceholder" style=3D"marginTop:2px; font-size: initial;fon=
t-family:&quot;Calibri&quot;,&quot;Slate Pro&quot;,&quot;sans-serif&quot;;c=
olor:#1f497d;">Sent from my BlackBerry 10 smartphone.</p><table width=3D"10=
0%" style=3D"border-spacing:0px;"> <tbody><tr><td colspan=3D"2"><div id=3D"=
_persistentHeader" style=3D"border-style: solid none none; border-top-color=
: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0in 0in; font-fam=
ily: Tahoma, 'BB Alpha Sans', 'Slate Pro'; font-size: 10pt;"><div><b>From: =
</b>Ville Voutilainen</div><div><b>Sent: </b>Friday, January 11, 2013 1:12 =
PM</div><div><b>To: </b>std-proposals@isocpp.org</div><div><b>Reply To: </b=
>std-proposals@isocpp.org</div><div><b>Subject: </b>Re: [std-proposals] Re:=
 Update to string_ref proposal</div></div></td></tr></tbody></table><div id=
=3D"_persistentHeaderEnd" style=3D"border:none;border-top:solid #babcd1 1pt=
;"></div><br><div id=3D"_originalContent" style=3D""><p>On 11 January 2013 =
20:08, Nicol Bolas <jmckesson@gmail.com> wrote:<br>&gt; Also, I'm not sure =
I see the logic in not providing this for that reason.<br>&gt; Given users =
of libraries A and users of libraries B, the only people who<br>&gt; will e=
ncounter that problem are the intersection of those users. You are<br>&gt; =
suggesting that we inconvenience the union of the users of libraries A and<=
br>&gt; B. That's hurting a lot more people, which seems to me to not be a =
good<br>&gt; thing.<br><br>I fail to see what this storm in a teacup is abo=
ut. I can use the<br>(const char*, size) constructor<br>to construct a stri=
ng_view from most existing library strings.<br><br>-- <br><br><br><br></jmc=
kesson@gmail.com></p></div></body>

<p></p>

-- <br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />

.


Author: Ville Voutilainen <ville.voutilainen@gmail.com>
Date: Fri, 11 Jan 2013 21:12:56 +0200
Raw View
--f46d0447f3dc3c663504d3081582
Content-Type: text/plain; charset=ISO-8859-1

On 11 January 2013 21:04, <tvaneerd@gmail.com> wrote:

> I think the issue is auto conversion.
>
> Can a function that takes a string_view automatically take a CString, or
> do I need to call a conversion.
>

How many people does it help if string_view can do the automatic
conversion, but string can't? Or do we plan
to allow string to perform such conversions too?

--




--f46d0447f3dc3c663504d3081582
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On 11 January 2013 21:04,  <span dir=3D"=
ltr">&lt;<a href=3D"mailto:tvaneerd@gmail.com" target=3D"_blank">tvaneerd@g=
mail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style><div style=3D"width:100%;background:#ffffff;font-size:initial;fo=
nt-family:&quot;Calibri&quot;,&quot;Slate Pro&quot;,&quot;sans-serif&quot;;=
color:#1f497d">I think the issue is auto conversion.=A0</div><div style=3D"=
width:100%;background:#ffffff;font-size:initial;font-family:&quot;Calibri&q=
uot;,&quot;Slate Pro&quot;,&quot;sans-serif&quot;;color:#1f497d">
<br></div><div style=3D"width:100%;background:#ffffff;font-size:initial;fon=
t-family:&quot;Calibri&quot;,&quot;Slate Pro&quot;,&quot;sans-serif&quot;;c=
olor:#1f497d">Can a function that takes a string_view automatically take a =
CString, or do I need to call a conversion.=A0</div>
</div></blockquote><div><br>How many people does it help if string_view can=
 do the automatic conversion, but string can&#39;t? Or do we plan<br>to all=
ow string to perform such conversions too? <br></div></div><br>

<p></p>

-- <br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />

--f46d0447f3dc3c663504d3081582--

.


Author: "Vicente J. Botet Escriba" <vicente.botet@wanadoo.fr>
Date: Fri, 11 Jan 2013 21:06:01 +0100
Raw View
Le 11/01/13 01:54, Jeffrey Yasskin a =E9crit :
> I've uploaded a new version to
> http://jeffrey.yasskin.info/cxx/2012/string_ref.html with updates from
> this thread. I'm planning to send this off to Clark tomorrow, although
> if https://groups.google.com/a/isocpp.org/d/topic/std-proposals/5sW8yp5i8=
mo/discussion
> keeps agreeing on string_view, I may switch to that name first.
>
> On Wed, Dec 26, 2012 at 3:44 PM, Jeffrey Yasskin <jyasskin@googlers.com> =
wrote:
>> Hi folks,
>>
>> I finally have an update for the string_ref proposal, converting it to
>> a set of changes against the C++14 draft. The most recent version
>> lives at https://github.com/google/cxx-std-draft/blob/string-ref-paper/s=
tring_ref.html,
>> and I've attached a snapshot.
>>
>> The LWG is still deciding whether this should aim for a TS or C++14
>> (or both?), and feedback from here will help inform that decision.
>> This paper currently assumes C++14.
>>
>>
Hi,

I remember that someone suggested to remove the clear() member function=20
as the behavior doesn't corresponds to string::clear(). I don't remember=20
the outcome of this remark.

Vicente

--=20




.


Author: Jeffrey Yasskin <jyasskin@googlers.com>
Date: Fri, 11 Jan 2013 12:25:23 -0800
Raw View
On Fri, Jan 11, 2013 at 12:06 PM, Vicente J. Botet Escriba
<vicente.botet@wanadoo.fr> wrote:
> Le 11/01/13 01:54, Jeffrey Yasskin a =E9crit :
>
>> I've uploaded a new version to
>> http://jeffrey.yasskin.info/cxx/2012/string_ref.html with updates from
>> this thread. I'm planning to send this off to Clark tomorrow, although
>> if
>> https://groups.google.com/a/isocpp.org/d/topic/std-proposals/5sW8yp5i8mo=
/discussion
>> keeps agreeing on string_view, I may switch to that name first.
>>
>> On Wed, Dec 26, 2012 at 3:44 PM, Jeffrey Yasskin <jyasskin@googlers.com>
>> wrote:
>>>
>>> Hi folks,
>>>
>>> I finally have an update for the string_ref proposal, converting it to
>>> a set of changes against the C++14 draft. The most recent version
>>> lives at
>>> https://github.com/google/cxx-std-draft/blob/string-ref-paper/string_re=
f.html,
>>> and I've attached a snapshot.
>>>
>>> The LWG is still deciding whether this should aim for a TS or C++14
>>> (or both?), and feedback from here will help inform that decision.
>>> This paper currently assumes C++14.
>>>
>>>
> Hi,
>
> I remember that someone suggested to remove the clear() member function a=
s
> the behavior doesn't corresponds to string::clear(). I don't remember the
> outcome of this remark.

IIRC, Olaf suggested it (because I didn't take his suggestion to
rename remove_prefix to pop_front), and I decided not to take the
suggestion unless I hear wider agreement.

--=20




.


Author: Nicol Bolas <jmckesson@gmail.com>
Date: Fri, 11 Jan 2013 12:40:43 -0800 (PST)
Raw View
------=_Part_1171_4498126.1357936843761
Content-Type: text/plain; charset=ISO-8859-1



On Friday, January 11, 2013 11:12:56 AM UTC-8, Ville Voutilainen wrote:
>
>
>
> On 11 January 2013 21:04, <tvan...@gmail.com <javascript:>> wrote:
>
>> I think the issue is auto conversion.
>>
>> Can a function that takes a string_view automatically take a CString, or
>> do I need to call a conversion.
>>
>
> How many people does it help if string_view can do the automatic
> conversion, but string can't? Or do we plan
> to allow string to perform such conversions too?
>

We shouldn't limit new classes just because of limitations on old ones.
Making the same mistake over and over again isn't helping anyone.
Consistency isn't as important as correctness and useful functionality.

Furthermore, that CString->std::wstring conversion would have to be a *copy*,
whereas the conversion to std::wstring_ref/view would not be. That's why
it's far more useful to have this implicit conversion because it takes no
real time or performance. Whereas a conversion to basic_string would be
something significant.

--




------=_Part_1171_4498126.1357936843761
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br>On Friday, January 11, 2013 11:12:56 AM UTC-8, Ville Voutilainen wr=
ote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex=
;border-left: 1px #ccc solid;padding-left: 1ex;"><br><br><div class=3D"gmai=
l_quote">On 11 January 2013 21:04,  <span dir=3D"ltr">&lt;<a href=3D"javasc=
ript:" target=3D"_blank" gdf-obfuscated-mailto=3D"mqHaN8nD3tAJ">tvan...@gma=
il.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style=3D"width:100%;background:#ffffff;font-size:initial;font-fam=
ily:&quot;Calibri&quot;,&quot;Slate Pro&quot;,&quot;sans-serif&quot;;color:=
#1f497d">I think the issue is auto conversion.&nbsp;</div><div style=3D"wid=
th:100%;background:#ffffff;font-size:initial;font-family:&quot;Calibri&quot=
;,&quot;Slate Pro&quot;,&quot;sans-serif&quot;;color:#1f497d">
<br></div><div style=3D"width:100%;background:#ffffff;font-size:initial;fon=
t-family:&quot;Calibri&quot;,&quot;Slate Pro&quot;,&quot;sans-serif&quot;;c=
olor:#1f497d">Can a function that takes a string_view automatically take a =
CString, or do I need to call a conversion.&nbsp;</div>
</div></blockquote><div><br>How many people does it help if string_view can=
 do the automatic conversion, but string can't? Or do we plan<br>to allow s=
tring to perform such conversions too? </div></div></blockquote><div><br>We=
 shouldn't limit new classes just because of limitations on old ones. Makin=
g the same mistake over and over again isn't helping anyone. Consistency is=
n't as important as correctness and useful functionality.<br><br>Furthermor=
e, that CString-&gt;std::wstring conversion would have to be a <i>copy</i>,=
 whereas the conversion to std::wstring_ref/view would not be. That's why i=
t's far more useful to have this implicit conversion because it takes no re=
al time or performance. Whereas a conversion to basic_string would be somet=
hing significant.<br></div>

<p></p>

-- <br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />

------=_Part_1171_4498126.1357936843761--

.


Author: Ville Voutilainen <ville.voutilainen@gmail.com>
Date: Fri, 11 Jan 2013 22:45:00 +0200
Raw View
On 11 January 2013 22:40, Nicol Bolas <jmckesson@gmail.com> wrote:
>> How many people does it help if string_view can do the automatic
>> conversion, but string can't? Or do we plan
>> to allow string to perform such conversions too?
> We shouldn't limit new classes just because of limitations on old ones.
> Making the same mistake over and over again isn't helping anyone.
> Consistency isn't as important as correctness and useful functionality.

Well consistency and convenience would be the argument for having such
conversions
for string as well...

> Furthermore, that CString->std::wstring conversion would have to be a copy,
> whereas the conversion to std::wstring_ref/view would not be. That's why
> it's far more useful to have this implicit conversion because it takes no
> real time or performance. Whereas a conversion to basic_string would be
> something significant.

....but this is a reasonable argument against it.

--




.


Author: "Vicente J. Botet Escriba" <vicente.botet@wanadoo.fr>
Date: Sat, 12 Jan 2013 13:12:26 +0100
Raw View
Le 11/01/13 21:25, Jeffrey Yasskin a =E9crit :
> On Fri, Jan 11, 2013 at 12:06 PM, Vicente J. Botet Escriba
> <vicente.botet@wanadoo.fr>  wrote:
>> Le 11/01/13 01:54, Jeffrey Yasskin a =E9crit :
>>
>>> I've uploaded a new version to
>>> http://jeffrey.yasskin.info/cxx/2012/string_ref.html  with updates from
>>> this thread. I'm planning to send this off to Clark tomorrow, although
>>> if
>>> https://groups.google.com/a/isocpp.org/d/topic/std-proposals/5sW8yp5i8m=
o/discussion
>>> keeps agreeing on string_view, I may switch to that name first.
>>>
>>> On Wed, Dec 26, 2012 at 3:44 PM, Jeffrey Yasskin<jyasskin@googlers.com>
>>> wrote:
>>>> Hi folks,
>>>>
>>>> I finally have an update for the string_ref proposal, converting it to
>>>> a set of changes against the C++14 draft. The most recent version
>>>> lives at
>>>> https://github.com/google/cxx-std-draft/blob/string-ref-paper/string_r=
ef.html,
>>>> and I've attached a snapshot.
>>>>
>>>> The LWG is still deciding whether this should aim for a TS or C++14
>>>> (or both?), and feedback from here will help inform that decision.
>>>> This paper currently assumes C++14.
>>>>
>>>>
>> Hi,
>>
>> I remember that someone suggested to remove the clear() member function =
as
>> the behavior doesn't corresponds to string::clear(). I don't remember th=
e
>> outcome of this remark.
> IIRC, Olaf suggested it (because I didn't take his suggestion to
> rename remove_prefix to pop_front), and I decided not to take the
> suggestion unless I hear wider agreement.
>
The same argument that renamed pop_front to remove_prefix should apply,=20
the clear function doesn't has the same behavior on string_ref and=20
string, so either the function is removed or a different name is used.

Vicente


--=20




.


Author: Olaf van der Spek <olafvdspek@gmail.com>
Date: Sat, 12 Jan 2013 16:31:20 +0100
Raw View
On Fri, Jan 11, 2013 at 9:25 PM, Jeffrey Yasskin <jyasskin@googlers.com> wrote:
>> I remember that someone suggested to remove the clear() member function as
>> the behavior doesn't corresponds to string::clear(). I don't remember the
>> outcome of this remark.
>
> IIRC, Olaf suggested it (because I didn't take his suggestion to
> rename remove_prefix to pop_front), and I decided not to take the
> suggestion unless I hear wider agreement.

You make me sound like a bad guy. :p
I was merely surprised with the inconsistency. I don't want clear() to
be renamed.


On Fri, Jan 11, 2013 at 8:12 PM, Ville Voutilainen
<ville.voutilainen@gmail.com> wrote:
> How many people does it help if string_view can do the automatic conversion,
> but string can't? Or do we plan

Lots

> to allow string to perform such conversions too?

I assume we do.

--
Olaf

--




.


Author: Sebastian Gesemann <s.gesemann@gmail.com>
Date: Tue, 22 Jan 2013 13:21:28 +0100
Raw View
Just a comment on the string_ref proposal regarding one of the
comments to the "why not change ... ?" questions:

> Make basic_string_ref<char> mutable
> =85 and use basic_string_ref<const char> for the constant case. The
> constant case is enough more common than the mutable case that it
> needs to be the default. Making the mutable case the default would
> prevent passing string literals into string_ref parameters, [...]
> We could use typedef basic_string_ref<const char> string_ref to
> make the immutable case the default while still supporting the
> mutable case using the same template. I haven't gone this way
> because it would complicate the template's definition without
> significantly helping users.

I think that in any case -- whether mutability will be included or not
-- the name of the pseudo string reference type to a constant string
should reflect the constness: string_cref. So, with mutability support
we could simply define the type aliases like this:

   using string_cref =3D basic_string_ref<const char>;
   using string_ref =3D basic_string_ref<char>;

and without mutability support I would prefer adding 'c' also to
basic_string_ref as well:

   using string_cref =3D basic_string_cref<char>;

just my two cents,
Sebastian

--=20

---=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To post to this group, send email to std-proposals@isocpp.org.
To unsubscribe from this group, send email to std-proposals+unsubscribe@iso=
cpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposa=
ls/?hl=3Den.



.


Author: cartec69@gmail.com
Date: Tue, 22 Jan 2013 06:37:51 -0800 (PST)
Raw View
------=_Part_32_29730052.1358865471288
Content-Type: text/plain; charset=ISO-8859-1

When one of the stated goals of the proposal is:

Note: The library provides implicit conversions from const charT* and
> std::basic_string<charT, ...> to std::basic_string_ref<charT, ...> so that
> user code can accept just std::basic_string_ref<charT> as a parameter
> wherever a sequence of characters is expected


it seems like a failure to me that many of the string operations are
declared with a pair of const charT* and basic_string_ref overloads. E.g.,

constexpr int compare(basic_string_ref s) const noexcept;
> constexpr int compare(const charT* s) const noexcept;


If a single overload on basic_string_ref isn't good enough for
basic_string_ref members, why should it be acceptable for "user code"?


Add a sub-subclause "x.y.2 basic_string_ref iterator support
> [string.ref.iterators]"
> typedef implementation-defined const_iterator;
> A random-access, contiguous iterator type.


Where is the notion of a contiguous iterator defined?



In the declaration of the interface, const charT& basic_string_ref::at( size_t pos ) const


   1. Is declared with a parameter of type size_t instead of size_type
   2. is not declared constexpr

which is inconsistent with the detailed description later on: constexpr const_reference at( size_type pos ) const.


--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To post to this group, send email to std-proposals@isocpp.org.
To unsubscribe from this group, send email to std-proposals+unsubscribe@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/?hl=en.



------=_Part_32_29730052.1358865471288
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>When one of the stated goals of the proposal is:&nbsp;</div><div><br><=
/div><blockquote class=3D"gmail_quote" style=3D"margin: 0px 0px 0px 0.8ex; =
border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-=
style: solid; padding-left: 1ex;">Note: The library provides implicit conve=
rsions from const charT* and std::basic_string&lt;charT, ...&gt; to std::ba=
sic_string_ref&lt;charT, ...&gt; so that user code can accept just std::bas=
ic_string_ref&lt;charT&gt; as a parameter wherever a sequence of characters=
 is expected</blockquote><div><br></div><div>it seems like a failure to me =
that many of the string operations are declared with a pair of const charT*=
 and basic_string_ref overloads. E.g.,</div><div><br></div><div><pre><block=
quote class=3D"gmail_quote" style=3D"margin: 0px 0px 0px 0.8ex; border-left=
-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: soli=
d; padding-left: 1ex;"><font face=3D"courier new, monospace">constexpr int =
compare(basic_string_ref s) const noexcept;<br>constexpr int compare(const =
charT* s) const noexcept;</font></blockquote><font face=3D"arial, sans-seri=
f"><pre><font face=3D"arial, sans-serif"><br></font></pre>If a single overl=
oad on basic_string_ref isn't good enough for basic_string_ref members, why=
 should it be acceptable for "user code"?<br><br><br></font><blockquote cla=
ss=3D"gmail_quote" style=3D"margin: 0px 0px 0px 0.8ex; border-left-width: 1=
px; border-left-color: rgb(204, 204, 204); border-left-style: solid; paddin=
g-left: 1ex;"><font face=3D"arial, sans-serif">Add a sub-subclause "x.y.2 b=
asic_string_ref iterator support [string.ref.iterators]"<br></font><font fa=
ce=3D"courier new, monospace">typedef implementation-defined const_iterator=
;<br></font><font face=3D"arial, sans-serif">A random-access, contiguous it=
erator type.</font></blockquote><font face=3D"arial, sans-serif"><pre><font=
 face=3D"arial, sans-serif"><br></font></pre>Where is the notion of a conti=
guous iterator defined?</font></pre><pre><font face=3D"arial, sans-serif"><=
br></font></pre><pre><font face=3D"arial, sans-serif"><br></font></pre><pre=
><font face=3D"arial, sans-serif">In the declaration of the interface, </fo=
nt><font face=3D"courier new, monospace">const charT&amp; <span style=3D"fo=
nt-size: 16px; line-height: 24px;">basic_string_ref::at( size_t pos ) const=
</span></font><span style=3D"font-size: 16px; line-height: 24px; font-famil=
y: 'Times New Roman';">&nbsp;</span></pre><pre><ol><li><span style=3D"font-=
family: 'Times New Roman'; font-size: 16px; line-height: 24px;">Is declared=
 with a parameter of type size_t instead of size_type</span></li><li><span =
style=3D"font-family: 'Times New Roman'; font-size: 16px; line-height: 24px=
;">is not declared constexpr</span></li></ol><span style=3D"font-family: 'T=
imes New Roman'; font-size: 16px; line-height: 24px;">which is inconsistent=
 with the detailed description later on: </span><span style=3D"font-family:=
 'courier new', monospace;">constexpr const_reference </span><span style=3D=
"font-family: 'courier new', monospace; font-size: 16px; line-height: 24px;=
">at( size_type pos ) const</span><span style=3D"font-family: 'Times New Ro=
man'; font-size: 16px; line-height: 24px;">.</span></pre><pre><div class=3D=
"attributes" style=3D"margin-left: 2em; white-space: normal; font-size: med=
ium; font-family: 'Times New Roman'; color: rgb(0, 0, 0);"><br></div></pre>=
</div>

<p></p>

-- <br />
&nbsp;<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To post to this group, send email to std-proposals@isocpp.org.<br />
To unsubscribe from this group, send email to std-proposals+unsubscribe@iso=
cpp.org.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/?hl=3Den">http://groups.google.com/a/isocpp.org/group/std-pro=
posals/?hl=3Den</a>.<br />
&nbsp;<br />
&nbsp;<br />

------=_Part_32_29730052.1358865471288--

.


Author: Jeffrey Yasskin <jyasskin@googlers.com>
Date: Tue, 22 Jan 2013 09:43:01 -0800
Raw View
On Tue, Jan 22, 2013 at 4:21 AM, Sebastian Gesemann
<s.gesemann@gmail.com> wrote:
> Just a comment on the string_ref proposal regarding one of the
> comments to the "why not change ... ?" questions:
>
>> Make basic_string_ref<char> mutable
>> =85 and use basic_string_ref<const char> for the constant case. The
>> constant case is enough more common than the mutable case that it
>> needs to be the default. Making the mutable case the default would
>> prevent passing string literals into string_ref parameters, [...]
>> We could use typedef basic_string_ref<const char> string_ref to
>> make the immutable case the default while still supporting the
>> mutable case using the same template. I haven't gone this way
>> because it would complicate the template's definition without
>> significantly helping users.
>
> I think that in any case -- whether mutability will be included or not
> -- the name of the pseudo string reference type to a constant string
> should reflect the constness: string_cref. So, with mutability support
> we could simply define the type aliases like this:
>
>    using string_cref =3D basic_string_ref<const char>;
>    using string_ref =3D basic_string_ref<char>;
>
> and without mutability support I would prefer adding 'c' also to
> basic_string_ref as well:
>
>    using string_cref =3D basic_string_cref<char>;
>
> just my two cents,

The thread you want is
https://groups.google.com/a/isocpp.org/d/topic/std-proposals/5sW8yp5i8mo/di=
scussion.
I'm going to ignore naming discussions on this thread.

Thanks,
Jeffrey

--=20

---=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To post to this group, send email to std-proposals@isocpp.org.
To unsubscribe from this group, send email to std-proposals+unsubscribe@iso=
cpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposa=
ls/?hl=3Den.



.


Author: Olaf van der Spek <olafvdspek@gmail.com>
Date: Sun, 27 Jan 2013 06:15:06 -0800 (PST)
Raw View
------=_Part_105_20303454.1359296106220
Content-Type: text/plain; charset=ISO-8859-1

On Thursday, December 27, 2012 12:44:38 AM UTC+1, Jeffrey Yasskin wrote:

> I finally have an update for the string_ref proposal, converting it to
> a set of changes against the C++14 draft. The most recent version
> lives at
> https://github.com/google/cxx-std-draft/blob/string-ref-paper/string_ref.html,
>
> and I've attached a snapshot.
>

> explicit basic_string(basic_string_ref<charT, traits> str, const
Allocator& a = Allocator());

Why is this string constructor explicit?

I expect a lot of code to be like:

string_ref f();

string a = f(); // construction
a = f(); // assignment

I've heard the cost argument, but string construction is known to be
expensive and construction from const char* or const string& is as
expensive but implicit.

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To post to this group, send email to std-proposals@isocpp.org.
To unsubscribe from this group, send email to std-proposals+unsubscribe@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/?hl=en.



------=_Part_105_20303454.1359296106220
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<span style=3D"font-size: 13px;">On Thursday, December 27, 2012 12:44:38 AM=
 UTC+1, Jeffrey Yasskin wrote:</span><br><blockquote class=3D"gmail_quote" =
style=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-l=
eft: 1ex;">I finally have an update for the string_ref proposal, converting=
 it to
<br>a set of changes against the C++14 draft. The most recent version
<br>lives at <a href=3D"https://github.com/google/cxx-std-draft/blob/string=
-ref-paper/string_ref.html" target=3D"_blank">https://github.com/google/cxx=
-<wbr>std-draft/blob/string-ref-<wbr>paper/string_ref.html</a>,
<br>and I've attached a snapshot.
<br></blockquote><div><br></div><div>&gt;&nbsp;<span style=3D"white-space: =
inherit; color: rgb(0, 0, 0); font-size: 13px;">explicit basic_string(basic=
_string_ref&lt;charT, traits&gt; str, const Allocator&amp; a =3D Allocator(=
));</span><span style=3D"font-size: 13px;">&nbsp;</span></div><div><span st=
yle=3D"font-size: 13px;"><br></span></div><div><span style=3D"font-size: 13=
px;">Why is this string constructor explicit?&nbsp;</span></div><div><br></=
div><div>I expect a lot of code to be like:</div><div><br></div><div>string=
_ref f();</div><div><br></div><div>string a =3D f(); // construction</div><=
div>a =3D f(); // assignment</div><div><br></div><div>I've heard the cost a=
rgument, but string construction is known to be expensive and construction =
from const char* or const string&amp; is as expensive but implicit.</div>

<p></p>

-- <br />
&nbsp;<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To post to this group, send email to std-proposals@isocpp.org.<br />
To unsubscribe from this group, send email to std-proposals+unsubscribe@iso=
cpp.org.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/?hl=3Den">http://groups.google.com/a/isocpp.org/group/std-pro=
posals/?hl=3Den</a>.<br />
&nbsp;<br />
&nbsp;<br />

------=_Part_105_20303454.1359296106220--

.


Author: Jeffrey Yasskin <jyasskin@googlers.com>
Date: Thu, 14 Mar 2013 23:41:43 -0700
Raw View
On Tue, Jan 22, 2013 at 6:37 AM,  <cartec69@gmail.com> wrote:
> When one of the stated goals of the proposal is:
>
>> Note: The library provides implicit conversions from const charT* and
>> std::basic_string<charT, ...> to std::basic_string_ref<charT, ...> so that
>> user code can accept just std::basic_string_ref<charT> as a parameter
>> wherever a sequence of characters is expected
>
>
> it seems like a failure to me that many of the string operations are
> declared with a pair of const charT* and basic_string_ref overloads. E.g.,
>
>> constexpr int compare(basic_string_ref s) const noexcept;
>> constexpr int compare(const charT* s) const noexcept;
>
>
> If a single overload on basic_string_ref isn't good enough for
> basic_string_ref members, why should it be acceptable for "user code"?

The standard has to be much more careful about allowing optimization
than user code does. That is, if I don't add the charT* overload, then
implementations aren't allowed to optimize the case of a very long
charT* string for which it could bail out of compare() before
calculating the whole length. This was requested in the LWG discussion
in Portland.

In the codebases I've seen that actually use string_ref (LLVM, Google,
and Chromium), the worry about long charT* strings has never been an
actual problem, and functions are just declared with a single
string_ref overload. The worry about backward-compatibility that
forced all the non-basic_string_ref members to also include a
basic_string overload has also never been a problem with these
codebases.

>> Add a sub-subclause "x.y.2 basic_string_ref iterator support
>> [string.ref.iterators]"
>> typedef implementation-defined const_iterator;
>> A random-access, contiguous iterator type.
>
>
> Where is the notion of a contiguous iterator defined?

It wasn't. Is now. Thanks. :)

> In the declaration of the interface, const charT& basic_string_ref::at(
> size_t pos ) const
>
> Is declared with a parameter of type size_t instead of size_type
> is not declared constexpr
>
> which is inconsistent with the detailed description later on: constexpr
> const_reference at( size_type pos ) const.

Also fixed. Thanks. Sorry for the long delay in getting back to you.

http://htmlpreview.github.com/?https://github.com/google/cxx-std-draft/blob/string-ref-paper/string_view.html

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/?hl=en.



.


Author: Olaf van der Spek <olafvdspek@gmail.com>
Date: Fri, 10 Oct 2014 12:33:44 -0700 (PDT)
Raw View
------=_Part_1038_1075920302.1412969624220
Content-Type: text/plain; charset=UTF-8



On Sunday, January 27, 2013 3:15:06 PM UTC+1, Olaf van der Spek wrote:
>
> On Thursday, December 27, 2012 12:44:38 AM UTC+1, Jeffrey Yasskin wrote:
>
>> I finally have an update for the string_ref proposal, converting it to
>> a set of changes against the C++14 draft. The most recent version
>> lives at
>> https://github.com/google/cxx-std-draft/blob/string-ref-paper/string_ref.html,
>>
>> and I've attached a snapshot.
>>
>
> > explicit basic_string(basic_string_ref<charT, traits> str, const
> Allocator& a = Allocator());
>
> Why is this string constructor explicit?
>
> I expect a lot of code to be like:
>
> string_ref f();
>
> string a = f(); // construction
> a = f(); // assignment
>
> I've heard the cost argument, but string construction is known to be
> expensive and construction from const char* or const string& is as
> expensive but implicit.
>

Somebody?

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

------=_Part_1038_1075920302.1412969624220
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>On Sunday, January 27, 2013 3:15:06 PM UTC+1, Olaf=
 van der Spek wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;ma=
rgin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><span styl=
e=3D"font-size:13px">On Thursday, December 27, 2012 12:44:38 AM UTC+1, Jeff=
rey Yasskin wrote:</span><br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">I fina=
lly have an update for the string_ref proposal, converting it to
<br>a set of changes against the C++14 draft. The most recent version
<br>lives at <a href=3D"https://github.com/google/cxx-std-draft/blob/string=
-ref-paper/string_ref.html" target=3D"_blank" onmousedown=3D"this.href=3D'h=
ttps://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fgoogle%2Fcxx-std-d=
raft%2Fblob%2Fstring-ref-paper%2Fstring_ref.html\46sa\75D\46sntz\0751\46usg=
\75AFQjCNGtRPU_iLcHkqfZ_4A5rIXBNy2gyA';return true;" onclick=3D"this.href=
=3D'https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fgoogle%2Fcxx-=
std-draft%2Fblob%2Fstring-ref-paper%2Fstring_ref.html\46sa\75D\46sntz\0751\=
46usg\75AFQjCNGtRPU_iLcHkqfZ_4A5rIXBNy2gyA';return true;">https://github.co=
m/google/cxx-<wbr>std-draft/blob/string-ref-<wbr>paper/string_ref.html</a>,
<br>and I've attached a snapshot.
<br></blockquote><div><br></div><div>&gt;&nbsp;<span style=3D"white-space:i=
nherit;color:rgb(0,0,0);font-size:13px">explicit basic_string(basic_string_=
ref&lt;<wbr>charT, traits&gt; str, const Allocator&amp; a =3D Allocator());=
</span><span style=3D"font-size:13px">&nbsp;</span></div><div><span style=
=3D"font-size:13px"><br></span></div><div><span style=3D"font-size:13px">Wh=
y is this string constructor explicit?&nbsp;</span></div><div><br></div><di=
v>I expect a lot of code to be like:</div><div><br></div><div>string_ref f(=
);</div><div><br></div><div>string a =3D f(); // construction</div><div>a =
=3D f(); // assignment</div><div><br></div><div>I've heard the cost argumen=
t, but string construction is known to be expensive and construction from c=
onst char* or const string&amp; is as expensive but implicit.</div></blockq=
uote><div><br></div><div>Somebody?&nbsp;</div></div>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_1038_1075920302.1412969624220--

.


Author: Ville Voutilainen <ville.voutilainen@gmail.com>
Date: Fri, 10 Oct 2014 23:41:33 +0300
Raw View
On 10 October 2014 22:33, Olaf van der Spek <olafvdspek@gmail.com> wrote:
>
>
> On Sunday, January 27, 2013 3:15:06 PM UTC+1, Olaf van der Spek wrote:
>>
>> On Thursday, December 27, 2012 12:44:38 AM UTC+1, Jeffrey Yasskin wrote:
>>>
>>> I finally have an update for the string_ref proposal, converting it to
>>> a set of changes against the C++14 draft. The most recent version
>>> lives at
>>> https://github.com/google/cxx-std-draft/blob/string-ref-paper/string_ref.html,
>>> and I've attached a snapshot.
>>
>>
>> > explicit basic_string(basic_string_ref<charT, traits> str, const
>> > Allocator& a = Allocator());
>>
>> Why is this string constructor explicit?
>>
>> I expect a lot of code to be like:
>>
>> string_ref f();
>>
>> string a = f(); // construction
>> a = f(); // assignment
>>
>> I've heard the cost argument, but string construction is known to be
>> expensive and construction from const char* or const string& is as expensive
>> but implicit.
>
>
> Somebody?

http://open-std.org/JTC1/SC22/WG21/docs/papers/2014/n4081.html#string.view.ops
"This conversion is explicit to avoid accidental O(N) operations on
type mismatches."

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

.


Author: Olaf van der Spek <olafvdspek@gmail.com>
Date: Sat, 11 Oct 2014 14:31:08 +0200
Raw View
On Fri, Oct 10, 2014 at 10:41 PM, Ville Voutilainen
<ville.voutilainen@gmail.com> wrote:
>>> Why is this string constructor explicit?
>>>
>>> I expect a lot of code to be like:
>>>
>>> string_ref f();
>>>
>>> string a = f(); // construction
>>> a = f(); // assignment
>>>
>>> I've heard the cost argument, but string construction is known to be
>>> expensive and construction from const char* or const string& is as expensive
>>> but implicit.
>>
>>
>> Somebody?
>
> http://open-std.org/JTC1/SC22/WG21/docs/papers/2014/n4081.html#string.view.ops
> "This conversion is explicit to avoid accidental O(N) operations on
> type mismatches."

That's what I said. Just to be clear, this is inconsistant with the
string constructor from char* isn't it?


--
Olaf

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

.


Author: Ville Voutilainen <ville.voutilainen@gmail.com>
Date: Sat, 11 Oct 2014 15:42:37 +0300
Raw View
On 11 October 2014 15:31, Olaf van der Spek <olafvdspek@gmail.com> wrote:
>>>> I've heard the cost argument, but string construction is known to be
>>>> expensive and construction from const char* or const string& is as expensive
>>>> but implicit.
>>>
>>>
>>> Somebody?
>>
>> http://open-std.org/JTC1/SC22/WG21/docs/papers/2014/n4081.html#string.view.ops
>> "This conversion is explicit to avoid accidental O(N) operations on
>> type mismatches."
>
> That's what I said. Just to be clear, this is inconsistant with the
> string constructor from char* isn't it?

Oh, pardon me, I misread that signature to be capable of converting to a string
with a different character type. Yes, it's inconsistent with the
string constructor
from char*, apparently string_view is trying to be more protective. Do remember
that string constructor from char* was made non-explicit because it was thought
very common to invoke a
void foo(const std::string&);
with
foo("literal");
Apparently the same kind of commonality hasn't been convincing for string_view.
I'll dig through some committee discussions to see what, if any, has been said
about this point.

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

.


Author: Matthew Fioravante <fmatthew5876@gmail.com>
Date: Thu, 23 Oct 2014 20:56:59 -0700 (PDT)
Raw View
------=_Part_1409_1638260789.1414123019907
Content-Type: text/plain; charset=UTF-8



On Friday, October 10, 2014 4:41:35 PM UTC-4, Ville Voutilainen wrote:
>
>
>
> http://open-std.org/JTC1/SC22/WG21/docs/papers/2014/n4081.html#string.view.ops
> "This conversion is explicit to avoid accidental O(N) operations on
> type mismatches."
>

I'm not sure I agree with this decision. In my view (pun not intended),
string_view should become the default way to pass around const references
to string. That is passing around const std::string& and const char* will
disappear in favor of std::string_view (by value). Similarly we won't pass
around const std::vector<T>& anymore but instead std::array_view<T>. Not
only are the views more efficient (one less indirection), but they also
make interfaces much more flexible by accepting a range like concept
instead of hard container type. Having to say foo(std::string_view("abc"))
is very clumsy.

The most common use of the const char* constructor is for string literals.
Constructing a string_view with a string literal will not be O(N) because
the compiler will be able to inline the call. Constructing a string_view
with an arbitrary const char* will require an O(N) strlen() but that's
already the reality of dealing with null terminated strings. You call
strlen() over and over again at each level of the call stack. This is one
reason why this proposal is so important and why null terminated strings
need to go away. Once string_view becomes the standard, const char* will
start to go away except for C compatibility and other edge cases and the
O(N) issue will be a corner case, not a real problem.


--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

------=_Part_1409_1638260789.1414123019907
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>On Friday, October 10, 2014 4:41:35 PM UTC-4, Vill=
e Voutilainen wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;ma=
rgin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><br><a hre=
f=3D"http://open-std.org/JTC1/SC22/WG21/docs/papers/2014/n4081.html#string.=
view.ops" target=3D"_blank" onmousedown=3D"this.href=3D'http://www.google.c=
om/url?q\75http%3A%2F%2Fopen-std.org%2FJTC1%2FSC22%2FWG21%2Fdocs%2Fpapers%2=
F2014%2Fn4081.html%23string.view.ops\46sa\75D\46sntz\0751\46usg\75AFQjCNEGM=
Kpi4uxofx38wndLMotH_fRvZg';return true;" onclick=3D"this.href=3D'http://www=
..google.com/url?q\75http%3A%2F%2Fopen-std.org%2FJTC1%2FSC22%2FWG21%2Fdocs%2=
Fpapers%2F2014%2Fn4081.html%23string.view.ops\46sa\75D\46sntz\0751\46usg\75=
AFQjCNEGMKpi4uxofx38wndLMotH_fRvZg';return true;">http://open-std.org/JTC1/=
SC22/<wbr>WG21/docs/papers/2014/n4081.<wbr>html#string.view.ops</a>
<br>"This conversion is explicit to avoid accidental O(N) operations on
<br>type mismatches."
<br></blockquote><div><br></div><div>I'm not sure I agree with this decisio=
n. In my view (pun not intended), string_view should become the default way=
 to pass around const references to string. That is passing around const st=
d::string&amp; and const char* will disappear in favor of std::string_view =
(by value). Similarly we won't pass around const std::vector&lt;T&gt;&amp; =
anymore but instead std::array_view&lt;T&gt;. Not only are the views more e=
fficient (one less indirection), but they also make interfaces much more fl=
exible by accepting a range like concept instead of hard container type. Ha=
ving to say foo(std::string_view("abc")) is very clumsy.</div><div><br></di=
v><div>The most common use of the const char* constructor is for string lit=
erals. Constructing a string_view with a string literal will not be O(N) be=
cause the compiler will be able to inline the call. Constructing a string_v=
iew with an arbitrary const char* will require an O(N) strlen() but that's =
already the reality of dealing with null terminated strings. You call strle=
n() over and over again at each level of the call stack. This is one reason=
 why this proposal is so important and why null terminated strings need to =
go away. Once string_view becomes the standard, const char* will start to g=
o away except for C compatibility and other edge cases and the O(N) issue w=
ill be a corner case, not a real problem.</div><div><br></div><div><br></di=
v></div>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_1409_1638260789.1414123019907--

.


Author: Matthew Fioravante <fmatthew5876@gmail.com>
Date: Thu, 23 Oct 2014 21:14:46 -0700 (PDT)
Raw View
------=_Part_1339_356498802.1414124086399
Content-Type: text/plain; charset=UTF-8



On Saturday, October 11, 2014 8:42:38 AM UTC-4, Ville Voutilainen wrote:
>
> On 11 October 2014 15:31, Olaf van der Spek <olafv...@gmail.com
> <javascript:>> wrote:
> >>>> I've heard the cost argument, but string construction is known to be
> >>>> expensive and construction from const char* or const string& is as
> expensive
> >>>> but implicit.
> >>>
> >>>
> >>> Somebody?
> >>
> >>
> http://open-std.org/JTC1/SC22/WG21/docs/papers/2014/n4081.html#string.view.ops
> >> "This conversion is explicit to avoid accidental O(N) operations on
> >> type mismatches."
> >
> > That's what I said. Just to be clear, this is inconsistant with the
> > string constructor from char* isn't it?
>
> Oh, pardon me, I misread that signature to be capable of converting to a
> string
> with a different character type. Yes, it's inconsistent with the
> string constructor
> from char*, apparently string_view is trying to be more protective. Do
> remember
> that string constructor from char* was made non-explicit because it was
> thought
> very common to invoke a
> void foo(const std::string&);
> with
> foo("literal");
> Apparently the same kind of commonality hasn't been convincing for
> string_view.
> I'll dig through some committee discussions to see what, if any, has been
> said
> about this point.
>

By value string_view should become the defacto way to pass around read only
strings and const string& and const char* will go away. Similarly, we won't
pass around const vector<T>& anymore in favor of array_view<T> (by value).

Passing the views by value is more efficient because there is one less
indirection. Its the same as directly passing the raw pointer to the
character array + the length instead of passing a pointer to the pointer to
the character array (const string&). More importantly, it also makes our
interfaces much more flexible because the string data can be sourced from
anything (string, char[], char*, user defined string class, etc..).

The most common use case of a char* constructor is for string literals. In
this use case, the call strlen() will trivially be optimized out. When
string_view becomes standard practice, const char* will show up less often
(for legacy code / C compatibility) and thus the potential to have sneaky
O(N) strlen() calls hidden in your code will be reduced.

Finally, when users really do want to construct from an arbitrary const
char*, they should know already that they have to worry about strlen()
calls because that's the nature of null terminated strings. You have to
call strlen() over and over again at each level of the call stack.

In order to make string_view the defacto string type, it must be easy to
use. If we cannot say foo("abc") but instead have to say
foo(string_view("abc")), its going to be a big impediment to string_view. I
believe in this case, ease of use should win out over potential performance
bugs due to hidden strlen() calls, which will go away when string_view is
used to be the normal way to represent read only strings.

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

------=_Part_1339_356498802.1414124086399
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>On Saturday, October 11, 2014 8:42:38 AM UTC-4, Vi=
lle Voutilainen wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;=
margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">On 11 Oc=
tober 2014 15:31, Olaf van der Spek &lt;<a href=3D"javascript:" target=3D"_=
blank" gdf-obfuscated-mailto=3D"4l4FVvcDdPsJ" onmousedown=3D"this.href=3D'j=
avascript:';return true;" onclick=3D"this.href=3D'javascript:';return true;=
">olafv...@gmail.com</a>&gt; wrote:
<br>&gt;&gt;&gt;&gt; I've heard the cost argument, but string construction =
is known to be
<br>&gt;&gt;&gt;&gt; expensive and construction from const char* or const s=
tring&amp; is as expensive
<br>&gt;&gt;&gt;&gt; but implicit.
<br>&gt;&gt;&gt;
<br>&gt;&gt;&gt;
<br>&gt;&gt;&gt; Somebody?
<br>&gt;&gt;
<br>&gt;&gt; <a href=3D"http://open-std.org/JTC1/SC22/WG21/docs/papers/2014=
/n4081.html#string.view.ops" target=3D"_blank" onmousedown=3D"this.href=3D'=
http://www.google.com/url?q\75http%3A%2F%2Fopen-std.org%2FJTC1%2FSC22%2FWG2=
1%2Fdocs%2Fpapers%2F2014%2Fn4081.html%23string.view.ops\46sa\75D\46sntz\075=
1\46usg\75AFQjCNEGMKpi4uxofx38wndLMotH_fRvZg';return true;" onclick=3D"this=
..href=3D'http://www.google.com/url?q\75http%3A%2F%2Fopen-std.org%2FJTC1%2FS=
C22%2FWG21%2Fdocs%2Fpapers%2F2014%2Fn4081.html%23string.view.ops\46sa\75D\4=
6sntz\0751\46usg\75AFQjCNEGMKpi4uxofx38wndLMotH_fRvZg';return true;">http:/=
/open-std.org/JTC1/SC22/<wbr>WG21/docs/papers/2014/n4081.<wbr>html#string.v=
iew.ops</a>
<br>&gt;&gt; "This conversion is explicit to avoid accidental O(N) operatio=
ns on
<br>&gt;&gt; type mismatches."
<br>&gt;
<br>&gt; That's what I said. Just to be clear, this is inconsistant with th=
e
<br>&gt; string constructor from char* isn't it?
<br>
<br>Oh, pardon me, I misread that signature to be capable of converting to =
a string
<br>with a different character type. Yes, it's inconsistent with the
<br>string constructor
<br>from char*, apparently string_view is trying to be more protective. Do =
remember
<br>that string constructor from char* was made non-explicit because it was=
 thought
<br>very common to invoke a
<br>void foo(const std::string&amp;);
<br>with
<br>foo("literal");
<br>Apparently the same kind of commonality hasn't been convincing for stri=
ng_view.
<br>I'll dig through some committee discussions to see what, if any, has be=
en said
<br>about this point.
<br></blockquote><div><br></div><div>By value string_view should become the=
 defacto way to pass around read only strings and const string&amp; and con=
st char* will go away. Similarly, we won't pass around const vector&lt;T&gt=
;&amp; anymore in favor of array_view&lt;T&gt; (by value).&nbsp;</div><div>=
<br></div><div>Passing the views by value is more efficient because there i=
s one less indirection. Its the same as directly passing the raw pointer to=
 the character array + the length instead of passing a pointer to the point=
er to the character array (const string&amp;). More importantly, it also ma=
kes our interfaces much more flexible because the string data can be source=
d from anything (string, char[], char*, user defined string class, etc..).<=
/div><div><br></div><div><span style=3D"font-size: 13.1428575515747px;">The=
 most common use case of a char* constructor is for string literals. In thi=
s use case, the call strlen() will trivially be optimized out. When string_=
view becomes standard practice, const char* will show up less often (for le=
gacy code / C compatibility) and thus the potential to have sneaky O(N) str=
len() calls hidden in your code will be reduced.</span></div><div><span sty=
le=3D"font-size: 13.1428575515747px;"><br></span></div><div><span style=3D"=
font-size: 13.1428575515747px;">Finally, when users really do want to const=
ruct from an arbitrary const char*, they should know already that they have=
 to worry about strlen() calls because that's the nature of null terminated=
 strings. You have to call strlen() over and over again at each level of th=
e call stack.</span></div><div><span style=3D"font-size: 13.1428575515747px=
;"><br></span></div><div><span style=3D"font-size: 13.1428575515747px;">In =
order to make string_view the defacto string type, it must be easy to use. =
If we cannot say foo("abc") but instead have to say foo(string_view("abc"))=
, its going to be a big impediment to string_view. I believe in this case, =
ease of use should win out over potential performance bugs due to hidden st=
rlen() calls, which will go away when string_view is used to be the normal =
way to represent read only strings.</span></div></div>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_1339_356498802.1414124086399--

.


Author: Olaf van der Spek <olafvdspek@gmail.com>
Date: Sat, 25 Oct 2014 16:43:18 +0200
Raw View
On Fri, Oct 24, 2014 at 5:56 AM, Matthew Fioravante
<fmatthew5876@gmail.com> wrote:
> I'm not sure I agree with this decision. In my view (pun not intended),
> string_view should become the default way to pass around const references to
> string. That is passing around const std::string& and const char* will
> disappear in favor of std::string_view (by value). Similarly we won't pass
> around const std::vector<T>& anymore but instead std::array_view<T>. Not

std::array_view<const T> ;)

> only are the views more efficient (one less indirection), but they also make
> interfaces much more flexible by accepting a range like concept instead of
> hard container type. Having to say foo(std::string_view("abc")) is very
> clumsy.

foo("abc"sv) might work, but I think foo("abc") is a bit cleaner.

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

.


Author: Nicola Gigante <nicola.gigante@gmail.com>
Date: Sat, 25 Oct 2014 17:03:56 +0200
Raw View
Il giorno 25/ott/2014, alle ore 16:43, Olaf van der Spek <olafvdspek@gmail.com> ha scritto:

> On Fri, Oct 24, 2014 at 5:56 AM, Matthew Fioravante
> <fmatthew5876@gmail.com> wrote:
>> I'm not sure I agree with this decision. In my view (pun not intended),
>> string_view should become the default way to pass around const references to
>> string. That is passing around const std::string& and const char* will
>> disappear in favor of std::string_view (by value). Similarly we won't pass
>> around const std::vector<T>& anymore but instead std::array_view<T>. Not
>
> std::array_view<const T> ;)
>
>> only are the views more efficient (one less indirection), but they also make
>> interfaces much more flexible by accepting a range like concept instead of
>> hard container type. Having to say foo(std::string_view("abc")) is very
>> clumsy.
>
> foo("abc"sv) might work, but I think foo("abc") is a bit cleaner.


Hi all,

In my opinion, the inability to call a function with a string literal without extra syntax
is going to kill the usage of string_view, especially in code written by novices or
not so expert programmers, who instead are the people who should be most
encouraged to use safe and high-level functionalities.

The O(n) strlen() call on string literal is already a false problem. Compilers inline
calls like that.

But even if we're worried by the cost of a non-inlined strlen() being overlooked,
why don't we provide a non-explicit constructor that specifically works only with
string literals? i.e.

template<size_t N>
basic_string_view(CharT literal[N]);

This way, conversions from string literals would be convenient and costly conversions
from unknown-length strings would be safely made explicit.

What are the negative aspects of this solution?

Bye,
Nicola

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

.


Author: Olaf van der Spek <olafvdspek@gmail.com>
Date: Sat, 25 Oct 2014 17:09:35 +0200
Raw View
On Sat, Oct 25, 2014 at 5:03 PM, Nicola Gigante
<nicola.gigante@gmail.com> wrote:
> template<size_t N>
> basic_string_view(CharT literal[N]);
>
> This way, conversions from string literals would be convenient and costly conversions
> from unknown-length strings would be safely made explicit.
>
> What are the negative aspects of this solution?

It 'works' for arrays (buffers) too but doesn't use the right size
unless the string consumes the entire buffer.


--
Olaf

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

.


Author: Nicola Gigante <nicola.gigante@gmail.com>
Date: Sat, 25 Oct 2014 17:30:04 +0200
Raw View
Il giorno 25/ott/2014, alle ore 17:09, Olaf van der Spek <olafvdspek@gmail.com> ha scritto:

> On Sat, Oct 25, 2014 at 5:03 PM, Nicola Gigante
> <nicola.gigante@gmail.com> wrote:
>> template<size_t N>
>> basic_string_view(CharT literal[N]);
>>
>> This way, conversions from string literals would be convenient and costly conversions
>> from unknown-length strings would be safely made explicit.
>>
>> What are the negative aspects of this solution?
>
> It 'works' for arrays (buffers) too but doesn't use the right size
> unless the string consumes the entire buffer.
>

Good point!

Bye,
Nicola

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

.


Author: Billy Donahue <billydonahue@google.com>
Date: Sun, 26 Oct 2014 20:24:47 -0700 (PDT)
Raw View
------=_Part_3049_173014227.1414380287807
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable



On Saturday, October 25, 2014 11:04:00 AM UTC-4, Nicola Gigante wrote:
>
>
> Il giorno 25/ott/2014, alle ore 16:43, Olaf van der Spek <
> olafv...@gmail.com <javascript:>> ha scritto:=20
>
> > On Fri, Oct 24, 2014 at 5:56 AM, Matthew Fioravante=20
> > <fmatth...@gmail.com <javascript:>> wrote:=20
> >> I'm not sure I agree with this decision. In my view (pun not intended)=
,=20
> >> string_view should become the default way to pass around const=20
> references to=20
> >> string. That is passing around const std::string& and const char* will=
=20
> >> disappear in favor of std::string_view (by value). Similarly we won't=
=20
> pass=20
> >> around const std::vector<T>& anymore but instead std::array_view<T>.=
=20
> Not=20
> >=20
> > std::array_view<const T> ;)=20
> >=20
> >> only are the views more efficient (one less indirection), but they als=
o=20
> make=20
> >> interfaces much more flexible by accepting a range like concept instea=
d=20
> of=20
> >> hard container type. Having to say foo(std::string_view("abc")) is ver=
y=20
> >> clumsy.=20
> >=20
> > foo("abc"sv) might work, but I think foo("abc") is a bit cleaner.=20
>
>
> Hi all,=20
>
> In my opinion, the inability to call a function with a string literal=20
> without extra syntax=20
> is going to kill the usage of string_view, especially in code written by=
=20
> novices or=20
> not so expert programmers, who instead are the people who should be most=
=20
> encouraged to use safe and high-level functionalities.=20
>
> The O(n) strlen() call on string literal is already a false problem.=20
> Compilers inline=20
> calls like that.=20
>
> But even if we=E2=80=99re worried by the cost of a non-inlined strlen() b=
eing=20
> overlooked,=20
> why don=E2=80=99t we provide a non-explicit constructor that specifically=
 works=20
> only with=20
> string literals? i.e.=20
>
> template<size_t N>=20
> basic_string_view(CharT literal[N]);=20
>
> This way, conversions from string literals would be convenient and costly=
=20
> conversions=20
> from unknown-length strings would be safely made explicit.=20
>
> What are the negative aspects of this solution?=20
>

CharT[N] objects can't be passed by value. You'd want:

template<size_t N>=20
basic_string_view(CharT const (&literal)[N]);=20

But then you still wouldn't have something "that specifically works only=20
with string literals". Below, g() calls the so-called "string literal"=20
constructor, but not with a string literal.

struct X { char buf[16]; };

void f(std::string_view s);
void g(const X& x) { f(x.buf); }   // x.buf: not a string literal

--=20

---=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposa=
ls/.

------=_Part_3049_173014227.1414380287807
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>On Saturday, October 25, 2014 11:04:00 AM UTC-4, N=
icola Gigante wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;ma=
rgin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">
<br>Il giorno 25/ott/2014, alle ore 16:43, Olaf van der Spek &lt;<a href=3D=
"javascript:" target=3D"_blank" gdf-obfuscated-mailto=3D"XHTkazOiwZQJ" onmo=
usedown=3D"this.href=3D'javascript:';return true;" onclick=3D"this.href=3D'=
javascript:';return true;">olafv...@gmail.com</a>&gt; ha scritto:
<br>
<br>&gt; On Fri, Oct 24, 2014 at 5:56 AM, Matthew Fioravante
<br>&gt; &lt;<a href=3D"javascript:" target=3D"_blank" gdf-obfuscated-mailt=
o=3D"XHTkazOiwZQJ" onmousedown=3D"this.href=3D'javascript:';return true;" o=
nclick=3D"this.href=3D'javascript:';return true;">fmatth...@gmail.com</a>&g=
t; wrote:
<br>&gt;&gt; I'm not sure I agree with this decision. In my view (pun not i=
ntended),
<br>&gt;&gt; string_view should become the default way to pass around const=
 references to
<br>&gt;&gt; string. That is passing around const std::string&amp; and cons=
t char* will
<br>&gt;&gt; disappear in favor of std::string_view (by value). Similarly w=
e won't pass
<br>&gt;&gt; around const std::vector&lt;T&gt;&amp; anymore but instead std=
::array_view&lt;T&gt;. Not
<br>&gt;=20
<br>&gt; std::array_view&lt;const T&gt; ;)
<br>&gt;=20
<br>&gt;&gt; only are the views more efficient (one less indirection), but =
they also make
<br>&gt;&gt; interfaces much more flexible by accepting a range like concep=
t instead of
<br>&gt;&gt; hard container type. Having to say foo(std::string_view("abc")=
) is very
<br>&gt;&gt; clumsy.
<br>&gt;=20
<br>&gt; foo("abc"sv) might work, but I think foo("abc") is a bit cleaner.
<br>
<br>
<br>Hi all,=20
<br>
<br>In my opinion, the inability to call a function with a string literal w=
ithout extra syntax=20
<br>is going to kill the usage of string_view, especially in code written b=
y novices or
<br>not so expert programmers, who instead are the people who should be mos=
t=20
<br>encouraged to use safe and high-level functionalities.
<br>
<br>The O(n) strlen() call on string literal is already a false problem. Co=
mpilers inline
<br>calls like that.
<br>
<br>But even if we=E2=80=99re worried by the cost of a non-inlined strlen()=
 being overlooked,
<br>why don=E2=80=99t we provide a non-explicit constructor that specifical=
ly works only with=20
<br>string literals? i.e.
<br>
<br>template&lt;size_t N&gt;
<br>basic_string_view(CharT literal[N]);
<br>
<br>This way, conversions from string literals would be convenient and cost=
ly conversions
<br>from unknown-length strings would be safely made explicit.
<br>
<br>What are the negative aspects of this solution?
<br>
</blockquote><div><br></div><div>CharT[N] objects can't be passed by value.=
 You'd want:<br></div><div><br></div><div>template&lt;size_t N&gt;&nbsp;<br=
>basic_string_view(CharT const (&amp;literal)[N]);&nbsp;</div><div><br></di=
v><div>But then you still wouldn't have something "that specifically works =
only with string literals". Below, g() calls the so-called "string literal"=
 constructor, but not with a string literal.</div><div><br></div><div>struc=
t X { char buf[16]; };</div><div><br></div><div>void f(std::string_view s);=
<br></div><div>void g(const X&amp; x) { f(x.buf); } &nbsp; // x.buf: not a =
string literal</div><div><br></div></div>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_3049_173014227.1414380287807--

.


Author: Matthew Fioravante <fmatthew5876@gmail.com>
Date: Mon, 27 Oct 2014 08:21:06 -0700 (PDT)
Raw View
------=_Part_1304_792908951.1414423266778
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Different semantics for const char[], and const char* seems like a bad idea=
=20
to me. Its very easy to substitute one for the other and get surprising=20
results. Taking the compile time length for const char[N] is also a mistake=
=20
because we don't know the intended semantics of the input array with=20
respect to null termination.
=20
Because C made the mistake of using char pointers/arrays to represent the 2=
=20
different concepts of "array of characters" and also "string" we=20
basically are forced to assume any character pointer or array used to=20
initialize a string_view is a null terminated string. It's very unfortunate=
=20
that the type of string_literals are C arrays and not some special=20
string_literal type.

On Sunday, October 26, 2014 11:24:47 PM UTC-4, Billy Donahue wrote:

>
>
> On Saturday, October 25, 2014 11:04:00 AM UTC-4, Nicola Gigante wrote:
>>
>>
>> Il giorno 25/ott/2014, alle ore 16:43, Olaf van der Spek <
>> olafv...@gmail.com> ha scritto:=20
>>
>> > On Fri, Oct 24, 2014 at 5:56 AM, Matthew Fioravante=20
>> > <fmatth...@gmail.com> wrote:=20
>> >> I'm not sure I agree with this decision. In my view (pun not=20
>> intended),=20
>> >> string_view should become the default way to pass around const=20
>> references to=20
>> >> string. That is passing around const std::string& and const char* wil=
l=20
>> >> disappear in favor of std::string_view (by value). Similarly we won't=
=20
>> pass=20
>> >> around const std::vector<T>& anymore but instead std::array_view<T>.=
=20
>> Not=20
>> >=20
>> > std::array_view<const T> ;)=20
>> >=20
>> >> only are the views more efficient (one less indirection), but they=20
>> also make=20
>> >> interfaces much more flexible by accepting a range like concept=20
>> instead of=20
>> >> hard container type. Having to say foo(std::string_view("abc")) is=20
>> very=20
>> >> clumsy.=20
>> >=20
>> > foo("abc"sv) might work, but I think foo("abc") is a bit cleaner.=20
>>
>>
>> Hi all,=20
>>
>> In my opinion, the inability to call a function with a string literal=20
>> without extra syntax=20
>> is going to kill the usage of string_view, especially in code written by=
=20
>> novices or=20
>> not so expert programmers, who instead are the people who should be most=
=20
>> encouraged to use safe and high-level functionalities.=20
>>
>> The O(n) strlen() call on string literal is already a false problem.=20
>> Compilers inline=20
>> calls like that.=20
>>
>> But even if we=E2=80=99re worried by the cost of a non-inlined strlen() =
being=20
>> overlooked,=20
>> why don=E2=80=99t we provide a non-explicit constructor that specificall=
y works=20
>> only with=20
>> string literals? i.e.=20
>>
>> template<size_t N>=20
>> basic_string_view(CharT literal[N]);=20
>>
>> This way, conversions from string literals would be convenient and costl=
y=20
>> conversions=20
>> from unknown-length strings would be safely made explicit.=20
>>
>> What are the negative aspects of this solution?=20
>>
>
> CharT[N] objects can't be passed by value. You'd want:
>
> template<size_t N>=20
> basic_string_view(CharT const (&literal)[N]);=20
>
> But then you still wouldn't have something "that specifically works only=
=20
> with string literals". Below, g() calls the so-called "string literal"=20
> constructor, but not with a string literal.
>
> struct X { char buf[16]; };
>
> void f(std::string_view s);
> void g(const X& x) { f(x.buf); }   // x.buf: not a string literal
>
>

--=20

---=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposa=
ls/.

------=_Part_1304_792908951.1414423266778
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Different semantics for const char[], and const char*=
 seems like a bad idea to me. Its very easy to substitute one for the other=
 and get surprising results. Taking the compile time length for const char[=
N] is also a mistake because&nbsp;we don't know the intended semantics of t=
he input array with respect to null termination.</div><div>&nbsp;</div><div=
>Because C made the mistake of using char pointers/arrays to&nbsp;represent=
 the 2 different concepts of&nbsp;"array of characters" and also "string" w=
e basically&nbsp;are forced&nbsp;to assume any character pointer or array u=
sed to initialize a string_view is a null terminated string. It's very unfo=
rtunate that the type of string_literals are C arrays and not some special =
string_literal type.</div><div><br>On Sunday, October 26, 2014 11:24:47 PM =
UTC-4, Billy Donahue wrote:</div><blockquote style=3D"margin: 0px 0px 0px 0=
..8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left=
-width: 1px; border-left-style: solid;" class=3D"gmail_quote"><div dir=3D"l=
tr"><br><br>On Saturday, October 25, 2014 11:04:00 AM UTC-4, Nicola Gigante=
 wrote:<blockquote style=3D"margin: 0px 0px 0px 0.8ex; padding-left: 1ex; b=
order-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-s=
tyle: solid;" class=3D"gmail_quote">
<br>Il giorno 25/ott/2014, alle ore 16:43, Olaf van der Spek &lt;<a>olafv..=
..@gmail.com</a>&gt; ha scritto:
<br>
<br>&gt; On Fri, Oct 24, 2014 at 5:56 AM, Matthew Fioravante
<br>&gt; &lt;<a>fmatth...@gmail.com</a>&gt; wrote:
<br>&gt;&gt; I'm not sure I agree with this decision. In my view (pun not i=
ntended),
<br>&gt;&gt; string_view should become the default way to pass around const=
 references to
<br>&gt;&gt; string. That is passing around const std::string&amp; and cons=
t char* will
<br>&gt;&gt; disappear in favor of std::string_view (by value). Similarly w=
e won't pass
<br>&gt;&gt; around const std::vector&lt;T&gt;&amp; anymore but instead std=
::array_view&lt;T&gt;. Not
<br>&gt;=20
<br>&gt; std::array_view&lt;const T&gt; ;)
<br>&gt;=20
<br>&gt;&gt; only are the views more efficient (one less indirection), but =
they also make
<br>&gt;&gt; interfaces much more flexible by accepting a range like concep=
t instead of
<br>&gt;&gt; hard container type. Having to say foo(std::string_view("abc")=
) is very
<br>&gt;&gt; clumsy.
<br>&gt;=20
<br>&gt; foo("abc"sv) might work, but I think foo("abc") is a bit cleaner.
<br>
<br>
<br>Hi all,=20
<br>
<br>In my opinion, the inability to call a function with a string literal w=
ithout extra syntax=20
<br>is going to kill the usage of string_view, especially in code written b=
y novices or
<br>not so expert programmers, who instead are the people who should be mos=
t=20
<br>encouraged to use safe and high-level functionalities.
<br>
<br>The O(n) strlen() call on string literal is already a false problem. Co=
mpilers inline
<br>calls like that.
<br>
<br>But even if we=E2=80=99re worried by the cost of a non-inlined strlen()=
 being overlooked,
<br>why don=E2=80=99t we provide a non-explicit constructor that specifical=
ly works only with=20
<br>string literals? i.e.
<br>
<br>template&lt;size_t N&gt;
<br>basic_string_view(CharT literal[N]);
<br>
<br>This way, conversions from string literals would be convenient and cost=
ly conversions
<br>from unknown-length strings would be safely made explicit.
<br>
<br>What are the negative aspects of this solution?
<br>
</blockquote><div><br></div><div>CharT[N] objects can't be passed by value.=
 You'd want:<br></div><div><br></div><div>template&lt;size_t N&gt;&nbsp;<br=
>basic_string_view(CharT const (&amp;literal)[N]);&nbsp;</div><div><br></di=
v><div>But then you still wouldn't have something "that specifically works =
only with string literals". Below, g() calls the so-called "string literal"=
 constructor, but not with a string literal.</div><div><br></div><div>struc=
t X { char buf[16]; };</div><div><br></div><div>void f(std::string_view s);=
<br></div><div>void g(const X&amp; x) { f(x.buf); } &nbsp; // x.buf: not a =
string literal</div><div><br></div></div></blockquote></div>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_1304_792908951.1414423266778--

.


Author: Marshall Clow <mclow.lists@gmail.com>
Date: Mon, 27 Oct 2014 09:25:34 -0700
Raw View
--Apple-Mail=_FCBDFE70-2897-442E-9F07-25517C0A9CFB
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8

On Oct 25, 2014, at 8:03 AM, Nicola Gigante <nicola.gigante@gmail.com> wrot=
e:

>=20
> Il giorno 25/ott/2014, alle ore 16:43, Olaf van der Spek <olafvdspek@gmai=
l.com> ha scritto:
>=20
>> On Fri, Oct 24, 2014 at 5:56 AM, Matthew Fioravante
>> <fmatthew5876@gmail.com> wrote:
>>> I'm not sure I agree with this decision. In my view (pun not intended),
>>> string_view should become the default way to pass around const referenc=
es to
>>> string. That is passing around const std::string& and const char* will
>>> disappear in favor of std::string_view (by value). Similarly we won't p=
ass
>>> around const std::vector<T>& anymore but instead std::array_view<T>. No=
t
>>=20
>> std::array_view<const T> ;)
>>=20
>>> only are the views more efficient (one less indirection), but they also=
 make
>>> interfaces much more flexible by accepting a range like concept instead=
 of
>>> hard container type. Having to say foo(std::string_view("abc")) is very
>>> clumsy.
>>=20
>> foo("abc"sv) might work, but I think foo("abc") is a bit cleaner.
>=20
>=20
> Hi all,=20
>=20
> In my opinion, the inability to call a function with a string literal wit=
hout extra syntax=20
> is going to kill the usage of string_view, especially in code written by =
novices or
> not so expert programmers, who instead are the people who should be most=
=20
> encouraged to use safe and high-level functionalities.
>=20
> The O(n) strlen() call on string literal is already a false problem. Comp=
ilers inline
> calls like that.
>=20
> But even if we're worried by the cost of a non-inlined strlen() being ove=
rlooked,
> why don't we provide a non-explicit constructor that specifically works o=
nly with=20
> string literals? i.e.
>=20
> template<size_t N>
> basic_string_view(CharT literal[N]);
>=20
> This way, conversions from string literals would be convenient and costly=
 conversions
> from unknown-length strings would be safely made explicit.
>=20
> What are the negative aspects of this solution?

We=E2=80=99ve been around this issue before.
Let=E2=80=99s see what I can remember:
 I remember embedded nulls being a problem.
 I remember including/not including a null being a problem.

Assume that we have a non-explicit constructor for a const char *

Consider
 void foo ( string_view sv ) {}

 foo ( =E2=80=9Cabcde=E2=80=9D );  // passes [ =E2=80=9Cabcde=E2=80=9D, 5 ]
 foo ( =E2=80=9Cabc\0de=E2=80=9D ); // passes [ =E2=80=9Cabc=E2=80=9D, 3 ]


Now, if we have something like this (I don=E2=80=99t think that this will w=
ork as written, but imagine it does):

 template<size_t N>
 basic_string_view(CharT literal[N]);

 const char arr [] =3D =E2=80=9Cabcde=E2=80=9D; // this is an array of size=
 6
 foo ( arr ); // would pass [ &arr[0], 6 ]

Note the length of 6 vs. 5 for the literal.

=E2=80=94 Marshall

--=20

---=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposa=
ls/.

--Apple-Mail=_FCBDFE70-2897-442E-9F07-25517C0A9CFB
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html charset=
=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-=
mode: space; -webkit-line-break: after-white-space;">On Oct 25, 2014, at 8:=
03 AM, Nicola Gigante &lt;<a href=3D"mailto:nicola.gigante@gmail.com">nicol=
a.gigante@gmail.com</a>&gt; wrote:<br><div><br class=3D"Apple-interchange-n=
ewline"><blockquote type=3D"cite"><div style=3D"font-size: 11px; font-style=
: normal; font-variant: normal; font-weight: normal; letter-spacing: normal=
; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;=
 -webkit-text-stroke-width: 0px;"><br>Il giorno 25/ott/2014, alle ore 16:43=
, Olaf van der Spek &lt;<a href=3D"mailto:olafvdspek@gmail.com">olafvdspek@=
gmail.com</a>&gt; ha scritto:<br><br><blockquote type=3D"cite">On Fri, Oct =
24, 2014 at 5:56 AM, Matthew Fioravante<br>&lt;<a href=3D"mailto:fmatthew58=
76@gmail.com">fmatthew5876@gmail.com</a>&gt; wrote:<br><blockquote type=3D"=
cite">I'm not sure I agree with this decision. In my view (pun not intended=
),<br>string_view should become the default way to pass around const refere=
nces to<br>string. That is passing around const std::string&amp; and const =
char* will<br>disappear in favor of std::string_view (by value). Similarly =
we won't pass<br>around const std::vector&lt;T&gt;&amp; anymore but instead=
 std::array_view&lt;T&gt;. Not<br></blockquote><br>std::array_view&lt;const=
 T&gt; ;)<br><br><blockquote type=3D"cite">only are the views more efficien=
t (one less indirection), but they also make<br>interfaces much more flexib=
le by accepting a range like concept instead of<br>hard container type. Hav=
ing to say foo(std::string_view("abc")) is very<br>clumsy.<br></blockquote>=
<br>foo("abc"sv) might work, but I think foo("abc") is a bit cleaner.<br></=
blockquote><br><br>Hi all,<span class=3D"Apple-converted-space">&nbsp;</spa=
n><br><br>In my opinion, the inability to call a function with a string lit=
eral without extra syntax<span class=3D"Apple-converted-space">&nbsp;</span=
><br>is going to kill the usage of string_view, especially in code written =
by novices or<br>not so expert programmers, who instead are the people who =
should be most<span class=3D"Apple-converted-space">&nbsp;</span><br>encour=
aged to use safe and high-level functionalities.<br><br>The O(n) strlen() c=
all on string literal is already a false problem. Compilers inline<br>calls=
 like that.<br><br>But even if we're worried by the cost of a non-inlined s=
trlen() being overlooked,<br>why don't we provide a non-explicit constructo=
r that specifically works only with<span class=3D"Apple-converted-space">&n=
bsp;</span><br>string literals? i.e.<br><br>template&lt;size_t N&gt;<br>bas=
ic_string_view(CharT literal[N]);<br><br>This way, conversions from string =
literals would be convenient and costly conversions<br>from unknown-length =
strings would be safely made explicit.<br><br>What are the negative aspects=
 of this solution?</div></blockquote><br></div><div>We=E2=80=99ve been arou=
nd this issue before.</div><div>Let=E2=80=99s see what I can remember:</div=
><div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>I re=
member embedded nulls being a problem.</div><div><span class=3D"Apple-tab-s=
pan" style=3D"white-space:pre"> </span>I remember including/not including a=
 null being a problem.</div><div><br></div><div>Assume that we have a non-e=
xplicit constructor for a const char *</div><div><br></div><div>Consider</d=
iv><div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>vo=
id foo ( string_view sv ) {}</div><div><br></div><div><span class=3D"Apple-=
tab-span" style=3D"white-space:pre"> </span>foo ( =E2=80=9Cabcde=E2=80=9D )=
;<span class=3D"Apple-tab-span" style=3D"white-space:pre">  </span>// passe=
s [ =E2=80=9Cabcde=E2=80=9D, 5 ]</div><div><span class=3D"Apple-tab-span" s=
tyle=3D"white-space:pre"> </span>foo ( =E2=80=9Cabc\0de=E2=80=9D );<span cl=
ass=3D"Apple-tab-span" style=3D"white-space:pre"> </span>// passes [ =E2=80=
=9Cabc=E2=80=9D, 3 ]</div><div></div><div></div><div><br></div><div><br></d=
iv><div>Now, if we have something like this (I don=E2=80=99t think that thi=
s will work as written, but imagine it does):</div><div><br></div><div><div=
><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>template&=
lt;size_t N&gt;<br><span class=3D"Apple-tab-span" style=3D"white-space:pre"=
> </span>basic_string_view(CharT literal[N]);<br></div><div><br></div><div>=
<span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>const char=
 arr [] =3D =E2=80=9Cabcde=E2=80=9D;<span class=3D"Apple-tab-span" style=3D=
"white-space:pre"> </span>// this is an array of size 6</div><div><span cla=
ss=3D"Apple-tab-span" style=3D"white-space:pre"> </span>foo ( arr ); // wou=
ld pass [ &amp;arr[0], 6 ]</div><div><br></div><div>Note the length of 6 vs=
.. 5 for the literal.</div><div><br></div><div>=E2=80=94 Marshall</div><div>=
<br></div></div></body></html>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

--Apple-Mail=_FCBDFE70-2897-442E-9F07-25517C0A9CFB--

.


Author: Tony V E <tvaneerd@gmail.com>
Date: Mon, 27 Oct 2014 12:40:35 -0400
Raw View
--001a11c38e96a3193a05066a3037
Content-Type: text/plain; charset=UTF-8

On Thu, Oct 23, 2014 at 11:56 PM, Matthew Fioravante <fmatthew5876@gmail.com
> wrote:

>
>
> On Friday, October 10, 2014 4:41:35 PM UTC-4, Ville Voutilainen wrote:
>>
>>
>> http://open-std.org/JTC1/SC22/WG21/docs/papers/2014/n4081.
>> html#string.view.ops
>> "This conversion is explicit to avoid accidental O(N) operations on
>> type mismatches."
>>
>
> I'm not sure I agree with this decision. In my view (pun not intended),
> string_view should become the default way to pass around const references
> to string. That is passing around const std::string& and const char* will
> disappear in favor of std::string_view (by value). Similarly we won't pass
> around const std::vector<T>& anymore but instead std::array_view<T>. Not
> only are the views more efficient (one less indirection), but they also
> make interfaces much more flexible by accepting a range like concept
> instead of hard container type. Having to say foo(std::string_view("abc"))
> is very clumsy.
>
>
int foo(std::string_view sv);
int x = foo("abc");

will work.  string_view constructor is implicit.
as does

std::string s("abc");
int y = foo(s);

What is explicit is basic_string's constructor - ie going the other
direction.

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

--001a11c38e96a3193a05066a3037
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, Oct 23, 2014 at 11:56 PM, Matthew Fioravante <span dir=3D"ltr">=
&lt;<a href=3D"mailto:fmatthew5876@gmail.com" target=3D"_blank">fmatthew587=
6@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex"><div dir=3D"ltr"><span class=3D""><br><br>On Friday, October 10=
, 2014 4:41:35 PM UTC-4, Ville Voutilainen wrote:<blockquote class=3D"gmail=
_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204=
,204);padding-left:1ex"><br><a href=3D"http://open-std.org/JTC1/SC22/WG21/d=
ocs/papers/2014/n4081.html#string.view.ops" target=3D"_blank">http://open-s=
td.org/JTC1/SC22/<u></u>WG21/docs/papers/2014/n4081.<u></u>html#string.view=
..ops</a>
<br>&quot;This conversion is explicit to avoid accidental O(N) operations o=
n
<br>type mismatches.&quot;
<br></blockquote><div><br></div></span><div>I&#39;m not sure I agree with t=
his decision. In my view (pun not intended), string_view should become the =
default way to pass around const references to string. That is passing arou=
nd const std::string&amp; and const char* will disappear in favor of std::s=
tring_view (by value). Similarly we won&#39;t pass around const std::vector=
&lt;T&gt;&amp; anymore but instead std::array_view&lt;T&gt;. Not only are t=
he views more efficient (one less indirection), but they also make interfac=
es much more flexible by accepting a range like concept instead of hard con=
tainer type. Having to say foo(std::string_view(&quot;abc&quot;)) is very c=
lumsy.</div><div><br></div></div></blockquote><div><br></div><div>int foo(s=
td::string_view sv);<br></div><div>int x =3D foo(&quot;abc&quot;);<br><br><=
/div><div>will work.=C2=A0 string_view constructor is implicit.<br></div><d=
iv>as does<br><br></div><div>std::string s(&quot;abc&quot;);<br></div><div>=
int y =3D foo(s);<br></div><div><br></div><div>What is explicit is basic_st=
ring&#39;s constructor - ie going the other direction.<br><br></div></div><=
br></div></div>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

--001a11c38e96a3193a05066a3037--

.


Author: Olaf van der Spek <olafvdspek@gmail.com>
Date: Tue, 28 Oct 2014 14:55:04 +0100
Raw View
On Mon, Oct 27, 2014 at 5:40 PM, Tony V E <tvaneerd@gmail.com> wrote:
> What is explicit is basic_string's constructor - ie going the other
> direction.

But why?

> > I've heard the cost argument, but string construction is known to be expensive and construction from const char* or const string& is as expensive but implicit.

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

.


Author: Tony V E <tvaneerd@gmail.com>
Date: Tue, 28 Oct 2014 11:06:05 -0400
Raw View
--089e0158b6be7b609a05067cfcd6
Content-Type: text/plain; charset=UTF-8

On Tue, Oct 28, 2014 at 9:55 AM, Olaf van der Spek <olafvdspek@gmail.com>
wrote:

> On Mon, Oct 27, 2014 at 5:40 PM, Tony V E <tvaneerd@gmail.com> wrote:
> > What is explicit is basic_string's constructor - ie going the other
> > direction.
>
> But why?
>
> > > I've heard the cost argument, but string construction is known to be
> expensive and construction from const char* or const string& is as
> expensive but implicit.
>
>

I don't recall the committee discussions in detail, but here are my
guesses/reasons:

- In general, the standard library is becoming more explicit, as is modern
code.  At least that's what I'm seeing - implicit conversions were "cool"
and magical, but now are seen as problematic.  (They are both, of course)

- before string_view existed your choice was char * or std::string.  So, by
being implicit, we "encouraged" conversion to std::string - it has a
runtime cost, but it has a coding benefit that is greater than that cost
(typically).  But string -> char * was not implicit, thus not encouraged.
We preferred you stay with string once you had a string.

Now with string_view, we have a 3rd choice.  Safer than char *, faster than
string, more general than either.  So we don't want to encourage the
conversion to string.  We'd prefer you fall into and stay in the
"string_view valley", and do extra work to get out of the valley in either
direction (toward string or char *).  ie instead of foo(someStringView)
working (implicitly), we subtly encourage you change foo() to take a
string_view.

Like I said, that is not directly from committee meetings.  It is more of
my guess of the committee "subconscious".  It is close to my own reasoning
at least (which frequently doesn't match the committee, but I _think_ it
does in this case).

Tony

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

--089e0158b6be7b609a05067cfcd6
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, Oct 28, 2014 at 9:55 AM, Olaf van der Spek <span dir=3D"ltr">&l=
t;<a href=3D"mailto:olafvdspek@gmail.com" target=3D"_blank">olafvdspek@gmai=
l.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=
=3D"">On Mon, Oct 27, 2014 at 5:40 PM, Tony V E &lt;<a href=3D"mailto:tvane=
erd@gmail.com">tvaneerd@gmail.com</a>&gt; wrote:<br>
&gt; What is explicit is basic_string&#39;s constructor - ie going the othe=
r<br>
&gt; direction.<br>
<br>
</span>But why?<br>
<span class=3D"im HOEnZb"><br>
&gt; &gt; I&#39;ve heard the cost argument, but string construction is know=
n to be expensive and construction from const char* or const string&amp; is=
 as expensive but implicit.<br>
<br></span></blockquote><div><br></div></div><br></div><div class=3D"gmail_=
extra">I don&#39;t recall the committee discussions in detail, but here are=
 my guesses/reasons:<br><br></div><div class=3D"gmail_extra">- In general, =
the standard library is becoming more explicit, as is modern code.=C2=A0 At=
 least that&#39;s what I&#39;m seeing - implicit conversions were &quot;coo=
l&quot; and magical, but now are seen as problematic.=C2=A0 (They are both,=
 of course)<br><br></div><div class=3D"gmail_extra">- before string_view ex=
isted your choice was char * or std::string.=C2=A0 So, by being implicit, w=
e &quot;encouraged&quot; conversion to std::string - it has a runtime cost,=
 but it has a coding benefit that is greater than that cost (typically).=C2=
=A0 But string -&gt; char * was not implicit, thus not encouraged.=C2=A0 We=
 preferred you stay with string once you had a string.<br><br></div><div cl=
ass=3D"gmail_extra">Now with string_view, we have a 3rd choice.=C2=A0 Safer=
 than char *, faster than string, more general than either.=C2=A0 So we don=
&#39;t want to encourage the conversion to string.=C2=A0 We&#39;d prefer yo=
u fall into and stay in the &quot;string_view valley&quot;, and do extra wo=
rk to get out of the valley in either direction (toward string or char *).=
=C2=A0 ie instead of foo(someStringView) working (implicitly), we subtly en=
courage you change foo() to take a string_view.<br><br></div><div class=3D"=
gmail_extra">Like I said, that is not directly from committee meetings.=C2=
=A0 It is more of my guess of the committee &quot;subconscious&quot;.=C2=A0=
 It is close to my own reasoning at least (which frequently doesn&#39;t mat=
ch the committee, but I _think_ it does in this case).<br><br></div><div cl=
ass=3D"gmail_extra">Tony<br><br><br></div></div>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

--089e0158b6be7b609a05067cfcd6--

.


Author: Olaf van der Spek <olafvdspek@gmail.com>
Date: Tue, 28 Oct 2014 16:31:22 +0100
Raw View
On Tue, Oct 28, 2014 at 4:06 PM, Tony V E <tvaneerd@gmail.com> wrote:
> Now with string_view, we have a 3rd choice.  Safer than char *, faster than
> string, more general than either.  So we don't want to encourage the
> conversion to string.  We'd prefer you fall into and stay in the
> "string_view valley", and do extra work to get out of the valley in either
> direction (toward string or char *).  ie instead of foo(someStringView)
> working (implicitly), we subtly encourage you change foo() to take a
> string_view.

Are there no good reasons to have a string value / reference anymore?
What if I need c_str()?

IMO having an explicit constructor to encourage people to use
string_view as parameter type doesn't seem right.
What if it's a third-party lib that can't be easily updated?

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

.


Author: Ville Voutilainen <ville.voutilainen@gmail.com>
Date: Tue, 28 Oct 2014 17:59:19 +0200
Raw View
On 28 October 2014 17:31, Olaf van der Spek <olafvdspek@gmail.com> wrote:
> On Tue, Oct 28, 2014 at 4:06 PM, Tony V E <tvaneerd@gmail.com> wrote:
>> Now with string_view, we have a 3rd choice.  Safer than char *, faster than
>> string, more general than either.  So we don't want to encourage the
>> conversion to string.  We'd prefer you fall into and stay in the
>> "string_view valley", and do extra work to get out of the valley in either
>> direction (toward string or char *).  ie instead of foo(someStringView)
>> working (implicitly), we subtly encourage you change foo() to take a
>> string_view.
>
> Are there no good reasons to have a string value / reference anymore?
> What if I need c_str()?
>
> IMO having an explicit constructor to encourage people to use
> string_view as parameter type doesn't seem right.
> What if it's a third-party lib that can't be easily updated?


What I can find from the committee discussions is that LEWG didn't want
void f(const string&);
string_view whatever = get_it();
f(whatever);
to be well-formed since it will allocate memory and copy the data if
the conversion from string_view
to string is implicit. That's what the "type mismatches" in the note means.

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

.


Author: Tony V E <tvaneerd@gmail.com>
Date: Tue, 28 Oct 2014 13:13:44 -0400
Raw View
--001a11346d50099aac05067ec536
Content-Type: text/plain; charset=UTF-8

On Tue, Oct 28, 2014 at 11:31 AM, Olaf van der Spek <olafvdspek@gmail.com>
wrote:

> On Tue, Oct 28, 2014 at 4:06 PM, Tony V E <tvaneerd@gmail.com> wrote:
> > Now with string_view, we have a 3rd choice.  Safer than char *, faster
> than
> > string, more general than either.  So we don't want to encourage the
> > conversion to string.  We'd prefer you fall into and stay in the
> > "string_view valley", and do extra work to get out of the valley in
> either
> > direction (toward string or char *).  ie instead of foo(someStringView)
> > working (implicitly), we subtly encourage you change foo() to take a
> > string_view.
>
> Are there no good reasons to have a string value / reference anymore?
> What if I need c_str()?
>

Sure there are good reasons.  It is a trade-off.


>
> IMO having an explicit constructor to encourage people to use
> string_view as parameter type doesn't seem right.
> What if it's a third-party lib that can't be easily updated?
>

Then you call the explicit conversion.  That's the trade-off.  I agree
there are pros and cons on either side.

Maybe that trade-off wasn't adequately discussed by the committee (I don't
recall), and/or maybe it will be discussed (again?) next week.
But my guess is that it won't be changed, and is the right trade-off.

Tony

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

--001a11346d50099aac05067ec536
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, Oct 28, 2014 at 11:31 AM, Olaf van der Spek <span dir=3D"ltr">&=
lt;<a href=3D"mailto:olafvdspek@gmail.com" target=3D"_blank">olafvdspek@gma=
il.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=
=3D"">On Tue, Oct 28, 2014 at 4:06 PM, Tony V E &lt;<a href=3D"mailto:tvane=
erd@gmail.com">tvaneerd@gmail.com</a>&gt; wrote:<br>
&gt; Now with string_view, we have a 3rd choice.=C2=A0 Safer than char *, f=
aster than<br>
&gt; string, more general than either.=C2=A0 So we don&#39;t want to encour=
age the<br>
&gt; conversion to string.=C2=A0 We&#39;d prefer you fall into and stay in =
the<br>
&gt; &quot;string_view valley&quot;, and do extra work to get out of the va=
lley in either<br>
&gt; direction (toward string or char *).=C2=A0 ie instead of foo(someStrin=
gView)<br>
&gt; working (implicitly), we subtly encourage you change foo() to take a<b=
r>
&gt; string_view.<br>
<br>
</span>Are there no good reasons to have a string value / reference anymore=
?<br>
What if I need c_str()?<br></blockquote><div><br></div><div>Sure there are =
good reasons.=C2=A0 It is a trade-off.<br>=C2=A0<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
<br>
IMO having an explicit constructor to encourage people to use<br>
string_view as parameter type doesn&#39;t seem right.<br>
What if it&#39;s a third-party lib that can&#39;t be easily updated?<br></b=
lockquote><div><br></div><div>Then you call the explicit conversion.=C2=A0 =
That&#39;s the trade-off.=C2=A0 I agree there are pros and cons on either s=
ide.<br>=C2=A0<br></div><div>Maybe that trade-off wasn&#39;t adequately dis=
cussed by the committee (I don&#39;t recall), and/or maybe it will be discu=
ssed (again?) next week.<br></div><div>But my guess is that it won&#39;t be=
 changed, and is the right trade-off.<br><br></div><div>Tony<br></div></div=
><br></div></div>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

--001a11346d50099aac05067ec536--

.


Author: Matthew Fioravante <fmatthew5876@gmail.com>
Date: Tue, 28 Oct 2014 16:46:26 -0700 (PDT)
Raw View
------=_Part_1955_772310022.1414539986379
Content-Type: text/plain; charset=UTF-8

Requiring explicit conversion from string_view to string seems like the
right idea to me. In general stronger concepts (string) should implicitly
convert to weaker concepts (string_view), but not the other way around.

On Tuesday, October 28, 2014 1:13:50 PM UTC-4, Tony V E wrote:
>
>
>
> On Tue, Oct 28, 2014 at 11:31 AM, Olaf van der Spek <olafv...@gmail.com
> <javascript:>> wrote:
>
>> On Tue, Oct 28, 2014 at 4:06 PM, Tony V E <tvan...@gmail.com
>> <javascript:>> wrote:
>> > Now with string_view, we have a 3rd choice.  Safer than char *, faster
>> than
>> > string, more general than either.  So we don't want to encourage the
>> > conversion to string.  We'd prefer you fall into and stay in the
>> > "string_view valley", and do extra work to get out of the valley in
>> either
>> > direction (toward string or char *).  ie instead of foo(someStringView)
>> > working (implicitly), we subtly encourage you change foo() to take a
>> > string_view.
>>
>> Are there no good reasons to have a string value / reference anymore?
>> What if I need c_str()?
>>
>
> Sure there are good reasons.  It is a trade-off.
>
>
>>
>> IMO having an explicit constructor to encourage people to use
>> string_view as parameter type doesn't seem right.
>> What if it's a third-party lib that can't be easily updated?
>>
>
> Then you call the explicit conversion.  That's the trade-off.  I agree
> there are pros and cons on either side.
>
> Maybe that trade-off wasn't adequately discussed by the committee (I don't
> recall), and/or maybe it will be discussed (again?) next week.
> But my guess is that it won't be changed, and is the right trade-off.
>
> Tony
>
>

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

------=_Part_1955_772310022.1414539986379
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Requiring explicit conversion from string_view to string s=
eems like the right idea to me. In general stronger concepts (string) shoul=
d implicitly convert to weaker concepts (string_view), but not the other wa=
y around.<br><br>On Tuesday, October 28, 2014 1:13:50 PM UTC-4, Tony V E wr=
ote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex=
;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr"><br><div>=
<br><div class=3D"gmail_quote">On Tue, Oct 28, 2014 at 11:31 AM, Olaf van d=
er Spek <span dir=3D"ltr">&lt;<a href=3D"javascript:" target=3D"_blank" gdf=
-obfuscated-mailto=3D"WC7i3ZOpxQUJ" onmousedown=3D"this.href=3D'javascript:=
';return true;" onclick=3D"this.href=3D'javascript:';return true;">olafv...=
@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On=
 Tue, Oct 28, 2014 at 4:06 PM, Tony V E &lt;<a href=3D"javascript:" target=
=3D"_blank" gdf-obfuscated-mailto=3D"WC7i3ZOpxQUJ" onmousedown=3D"this.href=
=3D'javascript:';return true;" onclick=3D"this.href=3D'javascript:';return =
true;">tvan...@gmail.com</a>&gt; wrote:<br>
&gt; Now with string_view, we have a 3rd choice.&nbsp; Safer than char *, f=
aster than<br>
&gt; string, more general than either.&nbsp; So we don't want to encourage =
the<br>
&gt; conversion to string.&nbsp; We'd prefer you fall into and stay in the<=
br>
&gt; "string_view valley", and do extra work to get out of the valley in ei=
ther<br>
&gt; direction (toward string or char *).&nbsp; ie instead of foo(someStrin=
gView)<br>
&gt; working (implicitly), we subtly encourage you change foo() to take a<b=
r>
&gt; string_view.<br>
<br>
</span>Are there no good reasons to have a string value / reference anymore=
?<br>
What if I need c_str()?<br></blockquote><div><br></div><div>Sure there are =
good reasons.&nbsp; It is a trade-off.<br>&nbsp;<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
<br>
IMO having an explicit constructor to encourage people to use<br>
string_view as parameter type doesn't seem right.<br>
What if it's a third-party lib that can't be easily updated?<br></blockquot=
e><div><br></div><div>Then you call the explicit conversion.&nbsp; That's t=
he trade-off.&nbsp; I agree there are pros and cons on either side.<br>&nbs=
p;<br></div><div>Maybe that trade-off wasn't adequately discussed by the co=
mmittee (I don't recall), and/or maybe it will be discussed (again?) next w=
eek.<br></div><div>But my guess is that it won't be changed, and is the rig=
ht trade-off.<br><br></div><div>Tony<br></div></div><br></div></div>
</blockquote></div>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_1955_772310022.1414539986379--

.


Author: =?UTF-8?Q?David_Rodr=C3=ADguez_Ibeas?= <dibeas@ieee.org>
Date: Mon, 27 Oct 2014 13:56:23 -0400
Raw View
--001a113ec986b1926105066b3f5d
Content-Type: text/plain; charset=UTF-8

The type 'std::string_view' is implicitly convertible from 'std::string',
if 'std::string' was also implicitly convertible from 'std::string_view'
you would run into issues when using any operation that can be applied with
a mixed type (comparison, inequality...)

std::string s("Hi there");
std::string_view v(s);
bool equal = (s == v);    // ambiguity!

    David

On Mon, Oct 27, 2014 at 12:40 PM, Tony V E <tvaneerd@gmail.com> wrote:

>
>
> On Thu, Oct 23, 2014 at 11:56 PM, Matthew Fioravante <
> fmatthew5876@gmail.com> wrote:
>
>>
>>
>> On Friday, October 10, 2014 4:41:35 PM UTC-4, Ville Voutilainen wrote:
>>>
>>>
>>> http://open-std.org/JTC1/SC22/WG21/docs/papers/2014/n4081.
>>> html#string.view.ops
>>> "This conversion is explicit to avoid accidental O(N) operations on
>>> type mismatches."
>>>
>>
>> I'm not sure I agree with this decision. In my view (pun not intended),
>> string_view should become the default way to pass around const references
>> to string. That is passing around const std::string& and const char* will
>> disappear in favor of std::string_view (by value). Similarly we won't pass
>> around const std::vector<T>& anymore but instead std::array_view<T>. Not
>> only are the views more efficient (one less indirection), but they also
>> make interfaces much more flexible by accepting a range like concept
>> instead of hard container type. Having to say foo(std::string_view("abc"))
>> is very clumsy.
>>
>>
> int foo(std::string_view sv);
> int x = foo("abc");
>
> will work.  string_view constructor is implicit.
> as does
>
> std::string s("abc");
> int y = foo(s);
>
> What is explicit is basic_string's constructor - ie going the other
> direction.
>
>
>  --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "ISO C++ Standard - Future Proposals" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to std-proposals+unsubscribe@isocpp.org.
> To post to this group, send email to std-proposals@isocpp.org.
> Visit this group at
> http://groups.google.com/a/isocpp.org/group/std-proposals/.
>

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

--001a113ec986b1926105066b3f5d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">The type &#39;std::string_view&#39; is implicitly converti=
ble from &#39;std::string&#39;, if &#39;std::string&#39; was also implicitl=
y convertible from &#39;std::string_view&#39; you would run into issues whe=
n using any operation that can be applied with a mixed type (comparison, in=
equality...)<br><br>std::string s(&quot;Hi there&quot;);<br>std::string_vie=
w v(s);<br>bool equal =3D (s =3D=3D v); =C2=A0 =C2=A0// ambiguity!<br><br>=
=C2=A0 =C2=A0 David</div><div class=3D"gmail_extra"><br><div class=3D"gmail=
_quote">On Mon, Oct 27, 2014 at 12:40 PM, Tony V E <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:tvaneerd@gmail.com" target=3D"_blank">tvaneerd@gmail.com</a=
>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><br>=
<div class=3D"gmail_extra"><br><div class=3D"gmail_quote"><span class=3D"">=
On Thu, Oct 23, 2014 at 11:56 PM, Matthew Fioravante <span dir=3D"ltr">&lt;=
<a href=3D"mailto:fmatthew5876@gmail.com" target=3D"_blank">fmatthew5876@gm=
ail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le=
ft:1ex"><div dir=3D"ltr"><span><br><br>On Friday, October 10, 2014 4:41:35 =
PM UTC-4, Ville Voutilainen wrote:<blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex"><br><a href=3D"http://open-std.org/JTC1/SC22/WG21/docs/papers/20=
14/n4081.html#string.view.ops" target=3D"_blank">http://open-std.org/JTC1/S=
C22/<u></u>WG21/docs/papers/2014/n4081.<u></u>html#string.view.ops</a>
<br>&quot;This conversion is explicit to avoid accidental O(N) operations o=
n
<br>type mismatches.&quot;
<br></blockquote><div><br></div></span><div>I&#39;m not sure I agree with t=
his decision. In my view (pun not intended), string_view should become the =
default way to pass around const references to string. That is passing arou=
nd const std::string&amp; and const char* will disappear in favor of std::s=
tring_view (by value). Similarly we won&#39;t pass around const std::vector=
&lt;T&gt;&amp; anymore but instead std::array_view&lt;T&gt;. Not only are t=
he views more efficient (one less indirection), but they also make interfac=
es much more flexible by accepting a range like concept instead of hard con=
tainer type. Having to say foo(std::string_view(&quot;abc&quot;)) is very c=
lumsy.</div><div><br></div></div></blockquote><div><br></div></span><div>in=
t foo(std::string_view sv);<br></div><div>int x =3D foo(&quot;abc&quot;);<b=
r><br></div><div>will work.=C2=A0 string_view constructor is implicit.<br><=
/div><div>as does<br><br></div><div>std::string s(&quot;abc&quot;);<br></di=
v><div>int y =3D foo(s);<br></div><div><br></div><div>What is explicit is b=
asic_string&#39;s constructor - ie going the other direction.<br><br></div>=
</div><br></div></div><div class=3D"HOEnZb"><div class=3D"h5">

<p></p>

-- <br>
<br>
--- <br>
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org" target=3D"_=
blank">std-proposals+unsubscribe@isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org" target=3D"_blank">std-proposals@isocpp.org</a>.<br>
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/" target=3D"_blank">http://groups.google.com/a/isocpp.org/gro=
up/std-proposals/</a>.<br>
</div></div></blockquote></div><br></div>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

--001a113ec986b1926105066b3f5d--

.


Author: Olaf van der Spek <olafvdspek@gmail.com>
Date: Thu, 6 Nov 2014 19:47:13 +0100
Raw View
On Mon, Oct 27, 2014 at 6:56 PM, David Rodr=C3=ADguez Ibeas <dibeas@ieee.or=
g> wrote:
> The type 'std::string_view' is implicitly convertible from 'std::string',=
 if
> 'std::string' was also implicitly convertible from 'std::string_view' you
> would run into issues when using any operation that can be applied with a
> mixed type (comparison, inequality...)
>
> std::string s("Hi there");
> std::string_view v(s);
> bool equal =3D (s =3D=3D v);    // ambiguity!

Shouldn't comparisons be doable without any conversions?

--=20

---=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposa=
ls/.

.


Author: Olaf van der Spek <olafvdspek@gmail.com>
Date: Thu, 6 Nov 2014 19:48:52 +0100
Raw View
On Wed, Oct 29, 2014 at 12:46 AM, Matthew Fioravante
<fmatthew5876@gmail.com> wrote:
> Requiring explicit conversion from string_view to string seems like the
> right idea to me. In general stronger concepts (string) should implicitly
> convert to weaker concepts (string_view), but not the other way around.

Shouldn't it be the other way around? Now you're implicity losing strength.
Not sure what exactly you mean by the strength of a concept though.

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

.


Author: Matthew Fioravante <fmatthew5876@gmail.com>
Date: Thu, 6 Nov 2014 19:46:17 -0800 (PST)
Raw View
------=_Part_406_340620847.1415331977443
Content-Type: text/plain; charset=UTF-8



On Thursday, November 6, 2014 1:48:53 PM UTC-5, Olaf van der Spek wrote:
>
> On Wed, Oct 29, 2014 at 12:46 AM, Matthew Fioravante
> <fmatth...@gmail.com <javascript:>> wrote:
> > Requiring explicit conversion from string_view to string seems like the
> > right idea to me. In general stronger concepts (string) should
> implicitly
> > convert to weaker concepts (string_view), but not the other way around.
>
> Shouldn't it be the other way around? Now you're implicity losing
> strength.
> Not sure what exactly you mean by the strength of a concept though.
>

Implicitly losing strength is good. You want to design your interface to
ask for the weakest possible concept so that you give maximum flexibility
to users. I suppose it could be considered similar to polymorphism where if
you just needed a Shape, you would pass Shape* and then users could easily
give you a Square, Triangle, or whatever else. Inheritance and virtual
functions give us behavioral polymorphism, string_view and array_view give
us a kind of data polymorphism.

If my interface just needs a "contiguous collection of T" (array_view<T>)
then any type that is a contiguous collection (vector, C array, std::array,
 etc..) should implicitly convert to array_view<T> so that I can just call
the function directly with all of these types without needing templates,
type erasure, or expensive copy conversions to get the data into whatever
type the author choose to stick in their function prototype.

string_view is just a read only view to some character data and a length.
string is a read write view to character data / length and is also a
container which allocates memory and stores the data. A string is a
string_view with the extra burden of managing the storage of the string
data. That is why I say string is "stronger" than string_view because its a
more specialized concept, in other words it can do more things and most
critically it adds constraints on the physical location of the data. If
your interface doesn't need to do storage management then it should accept
a string_view, not a string, char*, or even a const string& to maximize
flexibility for the callers and eliminate dependencies on one string type.

Converting a string to a string_view is not really a conversion, its more
like constructing a reference to the data which performance wise is
basically free (and possibly even more optimal then passing const string&
because we don't have that extra indirection). The assignment is a shallow
copy, similar to converting a child class pointer to a base class pointer.
Converting from string_view to string however is a real data conversion.
Memory has to be allocated and a copy of the data has to be made. In this
case its better to have an explicit conversion so that people are prevented
from easy to write hidden pessimizations. It marks in the code directly
where copies of strings are being made.

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

------=_Part_406_340620847.1415331977443
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>On Thursday, November 6, 2014 1:48:53 PM UTC-5, Ol=
af van der Spek wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;=
margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">On Wed, =
Oct 29, 2014 at 12:46 AM, Matthew Fioravante
<br>&lt;<a href=3D"javascript:" target=3D"_blank" gdf-obfuscated-mailto=3D"=
47WffNnL0rIJ" onmousedown=3D"this.href=3D'javascript:';return true;" onclic=
k=3D"this.href=3D'javascript:';return true;">fmatth...@gmail.com</a>&gt; wr=
ote:
<br>&gt; Requiring explicit conversion from string_view to string seems lik=
e the
<br>&gt; right idea to me. In general stronger concepts (string) should imp=
licitly
<br>&gt; convert to weaker concepts (string_view), but not the other way ar=
ound.
<br>
<br>Shouldn't it be the other way around? Now you're implicity losing stren=
gth.
<br>Not sure what exactly you mean by the strength of a concept though.
<br></blockquote><div><span style=3D"font-size: 13px;"><br></span></div><di=
v><span style=3D"font-size: 13px;">Implicitly losing strength is good. You =
want to design your interface to ask for the weakest possible concept so th=
at you give maximum flexibility to users. I suppose it could be considered =
similar to polymorphism where if you just needed a Shape, you would pass Sh=
ape* and then users could easily give you a Square, Triangle, or whatever e=
lse. Inheritance and virtual functions give us behavioral polymorphism, str=
ing_view and array_view give us a kind of data polymorphism.</span></div><d=
iv><span style=3D"font-size: 13px;"><br></span></div><div><span style=3D"fo=
nt-size: 13px;">If my interface just needs a "contiguous collection of T" (=
array_view&lt;T&gt;) then any type that is a contiguous collection (vector,=
 C array, std::array, &nbsp;etc..) should implicitly convert to array_view&=
lt;T&gt; so that I can just call the function directly with all of these ty=
pes without needing templates, type erasure, or expensive copy conversions =
to get the data into whatever type the author choose to stick in their func=
tion prototype.</span></div><div><span style=3D"font-size: 13px;"><br></spa=
n></div><div><span style=3D"font-size: 13px;">string_view is just a read on=
ly view to some character data and a length. string is a read write view to=
 character data / length and is also a container which allocates memory and=
 stores the data. A string is a string_view with the extra burden of managi=
ng the storage of the string data. That is why I say string is "stronger" t=
han string_view because its a more specialized concept, in other words it c=
an do more things and most critically it adds constraints on the physical l=
ocation of the data. If your interface doesn't need to do storage managemen=
t then it should accept a string_view, not a string, char*, or even a const=
 string&amp; to maximize flexibility for the callers and eliminate dependen=
cies on one string type.</span><br></div><div><span style=3D"font-size: 13p=
x;"><br></span></div><div><span style=3D"font-size: 13px;">Converting a str=
ing to a string_view is not really a conversion, its more like constructing=
 a reference to the data which performance wise is basically free (and poss=
ibly even more optimal then passing const string&amp; because we don't have=
 that extra indirection). The assignment is a shallow copy, similar to conv=
erting a child class pointer to a base class pointer. Converting from strin=
g_view to string however is a real data conversion. Memory has to be alloca=
ted and a copy of the data has to be made. In this case its better to have =
an explicit conversion so that people are prevented from easy to write hidd=
en pessimizations. It marks in the code directly where copies of strings ar=
e being made.</span></div></div>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_406_340620847.1415331977443--

.


Author: =?UTF-8?Q?David_Rodr=C3=ADguez_Ibeas?= <dibeas@ieee.org>
Date: Wed, 12 Nov 2014 08:58:47 -0500
Raw View
--089e010d7dea7432600507a9cb95
Content-Type: text/plain; charset=UTF-8

On Thu, Nov 6, 2014 at 1:47 PM, Olaf van der Spek <olafvdspek@gmail.com>
wrote:

> > std::string s("Hi there");
> > std::string_view v(s);
> > bool equal = (s == v);    // ambiguity!
>
> Shouldn't comparisons be doable without any conversions?
>
>
That is not the case in n4082.  The comparison operators only apply on two
string_view and there are no cross type conversions.  I mentioned this to
some committee members that, I believe, raised this as a comment, although
my understanding is that the comment was late to the process to require an
official response from ISO.

The particular concern I had is that not having cross type comparisons for
'charT const*' comes with a performance cost, as the conversion from 'charT
const *' to 'basic_string_view<charT, traits>' requires walking the whole
sequence to find the null just to build the argument and then walking over
the sequence again comparing the values.

If the conversion from 'string_view' to 'string' was implicit, then the
problem of not having cross type comparisons would be worse, as the absence
would cause ambiguities in code.

Note that it is perfectly fine to convert from 'string' to 'string_view'.
There is no associated cost (pointer + size/2 pointer copies are not a real
cost) and if an algorithm can operate just on a sequence of characters a
single implementation with 'string_view' will fit all uses.

    David

--

---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

--089e010d7dea7432600507a9cb95
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On T=
hu, Nov 6, 2014 at 1:47 PM, Olaf van der Spek <span dir=3D"ltr">&lt;<a href=
=3D"mailto:olafvdspek@gmail.com" target=3D"_blank">olafvdspek@gmail.com</a>=
&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">&gt; =
std::string s(&quot;Hi there&quot;);<br>
&gt; std::string_view v(s);<br>
&gt; bool equal =3D (s =3D=3D v);=C2=A0 =C2=A0 // ambiguity!<br>
<br>
</span>Shouldn&#39;t comparisons be doable without any conversions?<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br></div></div></blockquote><div><=
br>That is not the case in n4082.=C2=A0 The comparison operators only apply=
 on two string_view and there are no cross type conversions.=C2=A0 I mentio=
ned this to some committee members that, I believe, raised this as a commen=
t, although my understanding is that the comment was late to the process to=
 require an official response from ISO.<br><br>The particular concern I had=
 is that not having cross type comparisons for &#39;charT const*&#39; comes=
 with a performance cost, as the conversion from &#39;charT const *&#39; to=
 &#39;basic_string_view&lt;charT, traits&gt;&#39; requires walking the whol=
e sequence to find the null just to build the argument and then walking ove=
r the sequence again comparing the values.<br><br>If the conversion from &#=
39;string_view&#39; to &#39;string&#39; was implicit, then the problem of n=
ot having cross type comparisons would be worse, as the absence would cause=
 ambiguities in code.<br><br>Note that it is perfectly fine to convert from=
 &#39;string&#39; to &#39;string_view&#39;. There is no associated cost (po=
inter + size/2 pointer copies are not a real cost) and if an algorithm can =
operate just on a sequence of characters a single implementation with &#39;=
string_view&#39; will fit all uses.<br><br>=C2=A0 =C2=A0 David</div></div><=
/div></div>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

--089e010d7dea7432600507a9cb95--

.