220 33020 <9f81f2b9-958c-4018-9f78-a6ac2e425899@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Igor Baidiuk <target.san@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: std::optional - support for sentinel values
Date: Thu, 29 Jun 2017 03:47:51 -0700 (PDT)
Lines: 59
Approved: news@gmane.org
Message-ID: <9f81f2b9-958c-4018-9f78-a6ac2e425899@isocpp.org>
References: <6e23864f-827a-4bdb-89de-a60d8f5be993@isocpp.org>
 <CAFk2RUbRhek+uf3sjX9o8dugGMLbTMxEpLjqB43gEMOhNfirhg@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_2127_992683124.1498733271198"
X-Trace: blaine.gmane.org 1498733275 30819 195.159.176.226 (29 Jun 2017 10:47:55 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Thu, 29 Jun 2017 10:47:55 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDK4F76SSIIBBV5V2PFAKGQEMR2JT4A@isocpp.org Thu Jun 29 12:47:50 2017
Return-path: <std-proposals+bncBDK4F76SSIIBBV5V2PFAKGQEMR2JT4A@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qk0-f200.google.com ([209.85.220.200])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDK4F76SSIIBBV5V2PFAKGQEMR2JT4A@isocpp.org>)
	id 1dQWzD-0007bv-Kk
	for gclcip-std-proposals@m.gmane.org; Thu, 29 Jun 2017 12:47:47 +0200
Original-Received: by mail-qk0-f200.google.com with SMTP id 134sf37401961qkh.1
        for <gclcip-std-proposals@m.gmane.org>; Thu, 29 Jun 2017 03:47:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        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;
        bh=60yZOsL2exZ0GcDQ29zsiwebJNUn6hB+A59meMC2IxU=;
        b=Mxsn8enbBY1v9e6S44dmkYmbsmvxZbPzk1/vvORuHOsHPfBCCA9qVMkHnF62/VBSpR
         ci9w/G13Rfo6cQHpO4zxVju/Y5jiIiRYlFYl2/+/Udh52XcZ9zAzHOeXxakTxY0Wv1Kg
         XDhzONcmKC4yGI0pe7dcxmJtQ5ofU2k1f2MbzqpqqTIj+YJyibcJ49fQtKROKPhADKeW
         bXap4jnVuINIgX0B5WuXPHYw57A6eoT2HWdWzLSyphZ4byzseniLpYaGTUg6Walkmx6l
         ANCPEhfpaxYrHl7BtgoOJfTAvhk5N8fwvVkKpJilNufg63s3pjwzx3JY2lt8SgkbFPXu
         tnMA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        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;
        bh=60yZOsL2exZ0GcDQ29zsiwebJNUn6hB+A59meMC2IxU=;
        b=VHNDwMQ2BHFoQvnGSAZdbukrCpkmn9O5AXpujg87fZDg/EY7wflndSsQnwsU+48MV9
         aEK09STvZFKtTjBuTJWeoFV03MYxZbvfK7ydbTfKShjHNN/zqtw6q4TxInYyXywWwobb
         CZjmUxG9fQxOCFU2QbVulrwby34783PFnniUiZJ0uowQ1s8/AgRRwxqykMCfOhu8WGT5
         lQPmm4e5RC63haab7nM/BFFAVPpru/5MxyZWnq582cuPWJW3IdytMf8KnTIt1Fnw2V7t
         fn9ukc/Hgh0mT2liDnn3d/qAwgaGMWaQatrKFZ/SKvHJLLHc0tpB4T1ixxeRfr/MqfUA
         ND9A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        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:x-spam-checked-in-group:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=60yZOsL2exZ0GcDQ29zsiwebJNUn6hB+A59meMC2IxU=;
        b=LivYMgy+1yQoCHbGuT0S9BTMq9M/iML5hbgj1wTvH7r1mfCXMWVeHqpJ7Y96HjLPhU
         6c57mdxFcIN72QyJCGGo9ljih7txv27IfmQdphCbjMMYA92MCWeCYDpOL4KtWU01QL/l
         V3ioIEAAfXQR2trUpun0SjCNK+yvzpEFJOBkx2sDb9/PkwYgZtugSjaRLcQdtD6EHKH6
         hAfVyYQ0bwWitJeUCs9Mj3SfdxFjJ451yauToPuNGNA8vp8j+kmIuwzYC/ScTSHKOpZ0
         +gbSWjRCALaI4XuUDHMLR1YEnNUisLnrfoJPRKBVBCFrdf5f64ObnX1SOZoUzUaQBJIz
         dgtg==
X-Gm-Message-State: AKS2vOxMroWqljDIQdwHbBCbVMl6qtQZ4qQAC+jT6mDiU+BP6+rMs1H+
	3998nlPgvNw+7CWV
X-Received: by 10.237.53.56 with SMTP id a53mr9121988qte.0.1498733272901;
        Thu, 29 Jun 2017 03:47:52 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.6.151 with SMTP id f23ls540196ioi.27.gmail; Thu, 29 Jun
 2017 03:47:51 -0700 (PDT)
X-Received: by 10.36.125.65 with SMTP id b62mr55549itc.5.1498733271710;
        Thu, 29 Jun 2017 03:47:51 -0700 (PDT)
In-Reply-To: <CAFk2RUbRhek+uf3sjX9o8dugGMLbTMxEpLjqB43gEMOhNfirhg@mail.gmail.com>
X-Original-Sender: target.san@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: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:33020
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/33020>

------=_Part_2127_992683124.1498733271198
Content-Type: multipart/alternative; 
	boundary="----=_Part_2128_1301472801.1498733271198"

------=_Part_2128_1301472801.1498733271198
Content-Type: text/plain; charset="UTF-8"

Okay, this may be a new type. I doubt it'll be possible to alter 
std::optional definition, even with default tempate parameter. It's sad 
that includes still give us sticks in a wheel.
Although, I think the whole idea is worth discussing, as it allows more 
tools for safe programming.

On Thursday, June 29, 2017 at 1:30:31 PM UTC+3, Ville Voutilainen wrote:
>
>
> You need a new type. 
>

-- 
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.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/9f81f2b9-958c-4018-9f78-a6ac2e425899%40isocpp.org.

------=_Part_2128_1301472801.1498733271198
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Okay, this may be a new type. I doubt it&#39;ll be possibl=
e to alter std::optional definition, even with default tempate parameter. I=
t&#39;s sad that includes still give us sticks in a wheel.<br>Although, I t=
hink the whole idea is worth discussing, as it allows more tools for safe p=
rogramming.<br><br>On Thursday, June 29, 2017 at 1:30:31 PM UTC+3, Ville Vo=
utilainen wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin=
-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><br>You need a=
 new type.
<br></blockquote></div>

<p></p>

-- <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 />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/9f81f2b9-958c-4018-9f78-a6ac2e425899%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/9f81f2b9-958c-4018-9f78-a6ac2e425899=
%40isocpp.org</a>.<br />

------=_Part_2128_1301472801.1498733271198--

------=_Part_2127_992683124.1498733271198--

.
