220 8704 <CAGg_6+MYduAHPOrY=Mk8sOux8+YPXKNPwhAFEXRH3n4-qfaPvg@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Nevin Liber <nevin@eviloverlord.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: string_view::is_null()
Date: Sun, 19 Jan 2014 15:15:07 -0600
Lines: 71
Approved: news@gmane.org
Message-ID: <CAGg_6+MYduAHPOrY=Mk8sOux8+YPXKNPwhAFEXRH3n4-qfaPvg@mail.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> <d17db29f-8da3-402f-834a-66b02e4d9621@isocpp.org>
 <3a3d55c0-20cb-40ff-ae46-84663d21f44d@isocpp.org> <dc982a9d-541c-4472-96f8-bed3327edeb0@isocpp.org>
 <a63b7659-74d7-465b-8f6e-69cf466cac57@isocpp.org> <53d0e0c3-7eee-4853-886d-624bf4b22fb4@isocpp.org>
 <52DC3ED7.9070707@knejp.de>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a11c3841a698d5504f05947b7
X-Trace: ger.gmane.org 1390166143 3777 80.91.229.3 (19 Jan 2014 21:15:43 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 19 Jan 2014 21:15:43 +0000 (UTC)
To: "std-proposals@isocpp.org" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCE35H5S6IDBBBEB6GLAKGQEPWJUY7Y@isocpp.org Sun Jan 19 22:15:50 2014
Return-path: <std-proposals+bncBCE35H5S6IDBBBEB6GLAKGQEPWJUY7Y@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lb0-f200.google.com ([209.85.217.200])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCE35H5S6IDBBBEB6GLAKGQEPWJUY7Y@isocpp.org>)
	id 1W4zif-0004TE-0c
	for gclcip-std-proposals@m.gmane.org; Sun, 19 Jan 2014 22:15:49 +0100
Original-Received: by mail-lb0-f200.google.com with SMTP id c11sf9699325lbj.11
        for <gclcip-std-proposals@m.gmane.org>; Sun, 19 Jan 2014 13:15:48 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
         :date:message-id:subject: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=H+UQqkEDQFALaRY7YFZ2t3IYInj9GIPMyoODcW1okJA=;
        b=ilp82nWNdhlDS+jK0huMm9PnNdHpwZ7qzxTCzPlxS/ZLVG7IqrswOpg43rA1F1sm1N
         jitSzqswuxHvi/GIgg+ut42n+G5f1hXBukQ2RreY9HW6gKH/1bebYMbVZcqV85L8y9Ys
         TIgxeWeEslWvKMM1fzkBjfYNzZp7MF0QjC+/zxidAbi+u1efdmGKbjt+PHGn6iwA3yau
         kVYsyDzA2/Z4N9fi1EM2lbaSe5tiTnREcccjcE+7nCYodKGHfFhbUCVyLfpk2d+jp2bI
         LQShUcB7ukxuwXqQRW39ajgbXS760Yr/PitDiiZFpjdto/b6Nl/GzvuMfmY3nH7InjOB
         +Qdg==
X-Gm-Message-State: ALoCoQlq43l1AA6aZlKyr5bXG2sz5u2Rfk2p+Y615xLel3OgowYTTS/HZQ3XC45XOtILt9exiLMo
X-Received: by 10.112.25.39 with SMTP id z7mr6762491lbf.4.1390166148677;
        Sun, 19 Jan 2014 13:15:48 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.76.116 with SMTP id j20ls369934wiw.10.gmail; Sun, 19 Jan
 2014 13:15:48 -0800 (PST)
X-Received: by 10.180.20.15 with SMTP id j15mr7334733wie.4.1390166148081;
        Sun, 19 Jan 2014 13:15:48 -0800 (PST)
Original-Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [2a00:1450:400c:c00::22e])
        by mx.google.com with ESMTPS id op5si13422621wjc.80.2014.01.19.13.15.47
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sun, 19 Jan 2014 13:15:47 -0800 (PST)
Received-SPF: pass (google.com: domain of nliber@gmail.com designates 2a00:1450:400c:c00::22e as permitted sender) client-ip=2a00:1450:400c:c00::22e;
Original-Received: by mail-wg0-f46.google.com with SMTP id x12so6136698wgg.1
        for <std-proposals@isocpp.org>; Sun, 19 Jan 2014 13:15:47 -0800 (PST)
X-Received: by 10.180.188.197 with SMTP id gc5mr7106195wic.30.1390166147695;
 Sun, 19 Jan 2014 13:15:47 -0800 (PST)
Original-Sender: nliber@gmail.com
Original-Received: by 10.194.121.163 with HTTP; Sun, 19 Jan 2014 13:15:07 -0800 (PST)
In-Reply-To: <52DC3ED7.9070707@knejp.de>
X-Original-Sender: nevin@eviloverlord.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of nliber@gmail.com designates 2a00:1450:400c:c00::22e as permitted
 sender) smtp.mail=nliber@gmail.com;       dkim=pass header.i=@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:8704
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/8704>

--001a11c3841a698d5504f05947b7
Content-Type: text/plain; charset=ISO-8859-1

On 19 January 2014 15:08, Miro Knejp <miro@knejp.de> wrote:

>
> I don't see why there should be a difference between specialized and
> unspecialized optional<string_view>. I also don't see how it is different
> from a "null string_view". As far as I can see the semantics are
> equivalent. As long as string_view does not accept nullptr the
> specialization is nothing but a sizeof() optimizing implementation detail.
>

In which case it is just a Quality of Implementation issue and need not be
addressed by the Standard.
-- 
 Nevin ":-)" Liber  <mailto:nevin@eviloverlord.com>  (847) 691-1404

-- 

--- 
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/.

--001a11c3841a698d5504f05947b7
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On 19 January 2014 15:08, Miro Knejp <span dir=3D"ltr">&lt=
;<a href=3D"mailto:miro@knejp.de" target=3D"_blank">miro@knejp.de</a>&gt;</=
span> wrote:<br><div class=3D"gmail_extra"><div class=3D"gmail_quote"><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex">


 =20
   =20
 =20
  <div text=3D"#000000" bgcolor=3D"#FFFFFF"><div class=3D"im"><br></div>
    I don&#39;t see why there should be a difference between specialized an=
d
    unspecialized optional&lt;string_view&gt;. I also don&#39;t see how it
    is different from a &quot;null string_view&quot;. As far as I can see t=
he
    semantics are equivalent. As long as string_view does not accept
    nullptr the specialization is nothing but a sizeof() optimizing
    implementation detail.</div></blockquote></div><div><br></div><div>In w=
hich case it is just a Quality of Implementation issue and need not be addr=
essed by the Standard.</div>-- <br>=A0Nevin &quot;:-)&quot; Liber=A0 &lt;ma=
ilto:<a href=3D"mailto:nevin@eviloverlord.com" target=3D"_blank">nevin@evil=
overlord.com</a>&gt;=A0 (847) 691-1404
</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 />

--001a11c3841a698d5504f05947b7--

.
