220 8600 <7aad44d8-6b4e-438a-b309-bd898b994b34@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Olaf van der Spek <olafvdspek@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: string_view::is_null()
Date: Wed, 15 Jan 2014 04:28:39 -0800 (PST)
Lines: 58
Approved: news@gmane.org
Message-ID: <7aad44d8-6b4e-438a-b309-bd898b994b34@isocpp.org>
References: <8045a4d2-721d-4725-8bb7-7a91b6f53ec8@isocpp.org>
 <186E0927-C962-4E34-AED0-E7509DD1F0A0@gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_932_25236934.1389788919462"
X-Trace: ger.gmane.org 1389788917 21451 80.91.229.3 (15 Jan 2014 12:28:37 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 15 Jan 2014 12:28:37 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5NB45SSABBB6H53GLAKGQE2APRACY@isocpp.org Wed Jan 15 13:28:42 2014
Return-path: <std-proposals+bncBC5NB45SSABBB6H53GLAKGQE2APRACY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-vb0-f72.google.com ([209.85.212.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5NB45SSABBB6H53GLAKGQE2APRACY@isocpp.org>)
	id 1W3PaL-0001IL-LJ
	for gclcip-std-proposals@m.gmane.org; Wed, 15 Jan 2014 13:28:41 +0100
Original-Received: by mail-vb0-f72.google.com with SMTP id x8sf1526915vbf.7
        for <gclcip-std-proposals@m.gmane.org>; Wed, 15 Jan 2014 04:28:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe
         :content-type;
        bh=zYsCjXOzArUpP1YQPmeWBKRsIqnNRn+1zqQPi2AL3Lc=;
        b=Io2SM3aH5DGo6wLQLuaRa7dOg2Vdwgd7Lq92dNjMZC/TKAEE2B1xfRf+0HQeST1vhP
         fz7YWDh+HonBMiZrOhHfCIoPQyU17Y2JfHMh+RJ5oNH5YwroWq+dgLEzvKJhxVxE9s9w
         RhgKfn07lvfydp5rHj+scjTRYOXCl/tx6wgexlzACirFV9E4qsICKyLpaiI6tsZrbaYR
         ohz7lQZ3JCDf5kfL2DW/vZu44yEZJWVspKoEcfKqSYI8GKx1/CkzjJKs8rVm8JRHwkal
         Y5/bfsgHs5ZkvwJOnQ761l68i01XomcDPSbUps7y+RbwR6ylRMAscJNSjNeiMJLLrzZS
         Ro/Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe:content-type;
        bh=zYsCjXOzArUpP1YQPmeWBKRsIqnNRn+1zqQPi2AL3Lc=;
        b=Q+VzFAadfBHR/p1MXo423xk3h0BsReAlyxFQWQt7pbpFdokw6RLdQYyoIPC0LkNZEO
         EAHbuvwWNV5XL//qHwmcqWHXZSc2cGoKtKljf3QfyFkZ0lWVhz3HuMMD+QoyhdR8M0BM
         qdnCGdcvu18Xtis+gtPagYjbyGhL6MaojyZ8Am5vWm+XarVsWqXcLK5919AdX9N5anXy
         hLYJtnZwIBAJd7xcZWi4/Mj9lPmi+J4zvi4qd+rTNeeNz5UzJr8TPqH0ENG77ME6qJ0H
         ny72j3fAuNCQZaAk8F1UEy/5jj4T4ws9zItq1++PBDtPmhSN0gVVavYLBbJtrDtmW1WR
         jhrA==
X-Gm-Message-State: ALoCoQmojYT8ojgsqsxCvdNRc1pcHyv3SXxQ0pkkjzBah8547PgPyq0HDRir8zYU6G8STQ/rAdqS
X-Received: by 10.58.189.73 with SMTP id gg9mr841536vec.34.1389788920687;
        Wed, 15 Jan 2014 04:28:40 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.75.105 with SMTP id b9ls461499qew.33.gmail; Wed, 15 Jan
 2014 04:28:40 -0800 (PST)
X-Received: by 10.49.122.42 with SMTP id lp10mr33381qeb.17.1389788920198;
        Wed, 15 Jan 2014 04:28:40 -0800 (PST)
In-Reply-To: <186E0927-C962-4E34-AED0-E7509DD1F0A0@gmail.com>
X-Original-Sender: olafvdspek@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:8600
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/8600>

------=_Part_932_25236934.1389788919462
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Saturday, December 28, 2013 6:01:34 AM UTC+1, Marshall wrote:
>
> if sv.size () =3D=3D 0 or sv.empty () [same thing], there is nothing that=
 you=20
> can do with sv.data()
> (except compare it to null, and that doesn=E2=80=99t tell you anything us=
eful).
>

Are you sure?
IMO an empty string_view could still point into a string and I should be=20
able to use that pointer to for example construct a new string_view.

--=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_932_25236934.1389788919462
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Saturday, December 28, 2013 6:01:34 AM UTC+1, Marshall =
wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8=
ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div style=3D"word-wrap:=
break-word"><div>if sv.size () =3D=3D 0 or sv.empty () [same thing], there =
is nothing that you can do with sv.data()</div><div>(except compare it to n=
ull, and that doesn=E2=80=99t tell you anything useful).</div></div></block=
quote><div><br></div><div>Are you sure?</div><div>IMO an empty string_view =
could still point into a string and I should be able to use that pointer to=
 for example construct a new string_view.</div></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 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 />

------=_Part_932_25236934.1389788919462--

.
