220 8667 <104254A6-C69A-4571-8455-89D7E466D493@gmail.com> article
Path: news.gmane.org!not-for-mail
From: Marshall Clow <mclow.lists@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: string_view::is_null()
Date: Fri, 17 Jan 2014 15:51:34 -0800
Lines: 62
Approved: news@gmane.org
Message-ID: <104254A6-C69A-4571-8455-89D7E466D493@gmail.com>
References: <8045a4d2-721d-4725-8bb7-7a91b6f53ec8@isocpp.org> <186E0927-C962-4E34-AED0-E7509DD1F0A0@gmail.com> <7aad44d8-6b4e-438a-b309-bd898b994b34@isocpp.org> <9C2C439F-7983-4224-B272-53CAD0E2E456@gmail.com> <CANh-dXnYg=1kmm1nJdSnTXmYyfBxbLTD9b+wecT+eZm5nPkf2A@mail.gmail.com> <CAGg_6+Pz0gQQcY_Vq6LTMFc-4iOJvVN1O3jc3gjh0J2egBTgGg@mail.gmail.com> <CANh-dX=Dr35_jvxadm2HWxNk6e87y8V+Dkyiw+syBfgfdTfobw@mail.gmail.com> <CAPOJ94O19N207rjm73tKJSc7K55kOzYxHbY9wtXquk=_uqqMsA@mail.gmail.com> <8E74B747-7450-41E0-8D1E-48C2D6F81535@gmail.com> <CAGNvRgDH=X2h4K_u3zOu7gUNuQbAcNHGNh=HfCRO9qG1mmiG1w@mail.gmail.com> <CANh-dXnytwWwS7E_BGA-xK8E-zw788TJKzM=HJdC-9JbF7+gTQ@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\))
Content-Type: multipart/alternative; boundary="Apple-Mail=_8631E139-3196-43A0-8E56-87132E4A6E18"
X-Trace: ger.gmane.org 1390002696 21030 80.91.229.3 (17 Jan 2014 23:51:36 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 17 Jan 2014 23:51:36 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDHIXP53REBRBC4E46LAKGQEQOIUISA@isocpp.org Sat Jan 18 00:51:41 2014
Return-path: <std-proposals+bncBDHIXP53REBRBC4E46LAKGQEQOIUISA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pb0-f70.google.com ([209.85.160.70])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDHIXP53REBRBC4E46LAKGQEQOIUISA@isocpp.org>)
	id 1W4JCP-0008AQ-2X
	for gclcip-std-proposals@m.gmane.org; Sat, 18 Jan 2014 00:51:41 +0100
Original-Received: by mail-pb0-f70.google.com with SMTP id rq2sf2599842pbb.5
        for <gclcip-std-proposals@m.gmane.org>; Fri, 17 Jan 2014 15:51:39 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:message-id:mime-version:subject:date
         :references:to:in-reply-to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe:content-type;
        bh=/o5DflTnGGrs2M7lVZQ6Bar8ryqexbg9BHa/v/9X69c=;
        b=lDeHznkl7EGmCtU4/lpGNRPVpqtkoRYVs+BTAcLIErN3ynSrxvbM1Nz4G+I0McWX72
         BdYII4QJHK7h4iXD/WOpxhgXOTBmO77Gqnao1oqz/I1FQeSkH4kkVwfoUMvkRHlQ2Xj9
         lLppqKkZkmRZTdEs/aVdTIwNZSOi800gddSxRGUpQCajPhxXbiMXfWKigHw6sAtbslHa
         SZ6kERx2fDMZQQ3DwDsU7zyzrWsVA6h17Khrf8WMFQTYjdgEm2h9EjvbWxG8F+60Cv0O
         1LAVFF+M9fx7vK7WPQ34C6qUR8F5huMoZBecqS5HpIecBlQ8IYA5Batum4N7WDwHBjAH
         sXow==
X-Gm-Message-State: ALoCoQkTNTR1mubv2p/Q86ITjlH8AYGikWgYnaTruRfqp0AWWu06TkcY2q7YPdMSTFEUCeCejTG3
X-Received: by 10.66.149.67 with SMTP id ty3mr1794304pab.27.1390002699655;
        Fri, 17 Jan 2014 15:51:39 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.100.146 with SMTP id s18ls103375qge.8.gmail; Fri, 17 Jan
 2014 15:51:39 -0800 (PST)
X-Received: by 10.236.26.17 with SMTP id b17mr4416517yha.77.1390002698951;
        Fri, 17 Jan 2014 15:51:38 -0800 (PST)
Original-Received: from mail-pd0-x231.google.com (mail-pd0-x231.google.com [2607:f8b0:400e:c02::231])
        by mx.google.com with ESMTPS id t28si13428023yhd.186.2014.01.17.15.51.38
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Fri, 17 Jan 2014 15:51:38 -0800 (PST)
Received-SPF: pass (google.com: domain of mclow.lists@gmail.com designates 2607:f8b0:400e:c02::231 as permitted sender) client-ip=2607:f8b0:400e:c02::231;
Original-Received: by mail-pd0-f177.google.com with SMTP id x10so3294366pdj.36
        for <std-proposals@isocpp.org>; Fri, 17 Jan 2014 15:51:38 -0800 (PST)
X-Received: by 10.68.252.161 with SMTP id zt1mr5197018pbc.130.1390002698010;
        Fri, 17 Jan 2014 15:51:38 -0800 (PST)
Original-Received: from [192.168.16.50] (wsip-174-77-164-131.sd.sd.cox.net. [174.77.164.131])
        by mx.google.com with ESMTPSA id nv7sm25646494pbc.31.2014.01.17.15.51.36
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Fri, 17 Jan 2014 15:51:37 -0800 (PST)
In-Reply-To: <CANh-dXnytwWwS7E_BGA-xK8E-zw788TJKzM=HJdC-9JbF7+gTQ@mail.gmail.com>
X-Mailer: Apple Mail (2.1827)
X-Original-Sender: mclow.lists@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of mclow.lists@gmail.com designates 2607:f8b0:400e:c02::231 as
 permitted sender) smtp.mail=mclow.lists@gmail.com;       dkim=pass
 header.i=@gmail.com;       dmarc=pass (p=NONE dis=NONE) header.from=gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:8667
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/8667>

--Apple-Mail=_8631E139-3196-43A0-8E56-87132E4A6E18
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=windows-1252

On Jan 17, 2014, at 2:10 PM, Jeffrey Yasskin <jyasskin@google.com> wrote:

> Agreed. To mitigate this, if string_view::data() could return nullptr, I =
believe we could still create strings using std::string(null_sv.begin(), nu=
ll_sv.end()).

I thought that=92s why we had to_string().

=97 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=_8631E139-3196-43A0-8E56-87132E4A6E18
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=windows-1252

<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 Jan 17, 2014, at 2:=
10 PM, Jeffrey Yasskin &lt;<a href=3D"mailto:jyasskin@google.com">jyasskin@=
google.com</a>&gt; wrote:<br><div><br class=3D"Apple-interchange-newline"><=
blockquote type=3D"cite"><div dir=3D"ltr" style=3D"font-family: LucidaGrand=
e; font-size: 11px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; text-al=
ign: start; text-indent: 0px; text-transform: none; white-space: normal; wi=
dows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class=
=3D"gmail_extra">Agreed. To mitigate this, if string_view::data() could ret=
urn nullptr, I believe we could still create strings using std::string(null=
_sv.begin(), null_sv.end()).</div></div></blockquote><br></div><div>I thoug=
ht that=92s why we had to_string().</div><div><br></div><div>=97 Marshall</=
div><div><br></div><br></body></html>

<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 unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<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=_8631E139-3196-43A0-8E56-87132E4A6E18--

.
