220 2861 <CAOHCbisJa9fJJLfbrOyZHPh93Y6=RkUauX1ZD3Xr4eqCMaHF5A@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Tony V E <tvaneerd@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: std::optional -- request for feedback on the wording
Date: Fri, 15 Feb 2013 17:19:35 -0500
Lines: 61
Approved: news@gmane.org
Message-ID: <CAOHCbisJa9fJJLfbrOyZHPh93Y6=RkUauX1ZD3Xr4eqCMaHF5A@mail.gmail.com>
References: <c689b87e-bb6f-42a4-83d7-50d1e395d13d@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable
X-Trace: ger.gmane.org 1360966777 4505 80.91.229.3 (15 Feb 2013 22:19:37 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 15 Feb 2013 22:19:37 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCUZ5QWKNQIPT2H2RACRUBBTFXM4K@isocpp.org Fri Feb 15 23:19:59 2013
Return-path: <std-proposals+bncBCUZ5QWKNQIPT2H2RACRUBBTFXM4K@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ea0-f199.google.com ([209.85.215.199])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCUZ5QWKNQIPT2H2RACRUBBTFXM4K@isocpp.org>)
	id 1U6TdO-0008Kh-8S
	for gclcip-std-proposals@m.gmane.org; Fri, 15 Feb 2013 23:19:58 +0100
Original-Received: by mail-ea0-f199.google.com with SMTP id j10sf4302839eaa.10
        for <gclcip-std-proposals@m.gmane.org>; Fri, 15 Feb 2013 14:19:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=x-received:x-beenthere:x-received:x-received:received-spf
         :mime-version:x-received:in-reply-to:references:date:message-id
         :subject:from:to:x-original-sender:x-original-authentication-results
         :reply-to:precedence:mailing-list:list-id:x-google-group-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe
         :content-type:content-transfer-encoding;
        bh=Kkd13wMF2d2QANNM78zU8PceUR1ejH7fV+ZVOceCP24=;
        b=sXjP5rANqo+qZN+6O0Jzop2+oZ3Yer7T3wJKhia6dv9rxpRa9KS8pWEyaIJqhPOZ+M
         Mtpxhrsen3z7/cerh/l5XOHzfRjel2Ut+YaipJqJumePySiht34Fm9OCOWaHeGOpRf/a
         aTaWfTExXwTivIQUg+ztnzzpHJJKO8Tm9NXqI4tBBqOQhUg08gpJ19OtoVRvosuNftWh
         8t/bAPsTR++xb4OG3PN9/659VfDrxZ/A3icvmle5lBmSz1bTDC840+yQvzI9fn76ZLiW
         MpFljboB2FRW4s5RKPXWTTk 
X-Received: by 10.112.40.6 with SMTP id t6mr728322lbk.0.1360966778355;
        Fri, 15 Feb 2013 14:19:38 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.152.125.48 with SMTP id mn16ls20650lab.91.gmail; Fri, 15 Feb
 2013 14:19:36 -0800 (PST)
X-Received: by 10.112.17.166 with SMTP id p6mr2706123lbd.41.1360966776377;
        Fri, 15 Feb 2013 14:19:36 -0800 (PST)
X-Received: by 10.112.17.166 with SMTP id p6mr2706122lbd.41.1360966776358;
        Fri, 15 Feb 2013 14:19:36 -0800 (PST)
Original-Received: from mail-la0-x236.google.com ([2a00:1450:4010:c03::236])
        by mx.google.com with ESMTPS id tu4si19968045lab.39.2013.02.15.14.19.36
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Fri, 15 Feb 2013 14:19:36 -0800 (PST)
Received-SPF: pass (google.com: domain of tvaneerd@gmail.com designates 2a00:1450:4010:c03::236 as permitted sender) client-ip=2a00:1450:4010:c03::236;
Original-Received: by mail-la0-f54.google.com with SMTP id gw10so3837504lab.41
        for <std-proposals@isocpp.org>; Fri, 15 Feb 2013 14:19:36 -0800 (PST)
X-Received: by 10.112.100.199 with SMTP id fa7mr2700867lbb.28.1360966775960;
 Fri, 15 Feb 2013 14:19:35 -0800 (PST)
Original-Received: by 10.112.14.75 with HTTP; Fri, 15 Feb 2013 14:19:35 -0800 (PST)
In-Reply-To: <c689b87e-bb6f-42a4-83d7-50d1e395d13d@isocpp.org>
X-Original-Sender: tvaneerd@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of tvaneerd@gmail.com designates 2a00:1450:4010:c03::236 as permitted
 sender) smtp.mail=tvaneerd@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?hl=en>,
 <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?hl=en&topic=25838>,
 <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/?hl=en>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe?hl=en>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe?hl=en>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:2861
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/2861>

On Fri, Feb 15, 2013 at 8:46 AM, Andrzej Krzemie=F1ski <akrzemi1@gmail.com>=
 wrote:
> Hi everyone,
> We have updated the proposal based on recent feedback. I enclose the late=
st
> draft.
> We would appreciate your feedback, especially on the standardese.
>
> Regards,
> &rzej
>
> --
>

Is this Revision 4? (or have these all been revisions of Revision 3,
and it doesn't really become Revision 3 until presented to committee?)

-------

optional<int> om{1};              // om is engaged; its contained value is =
1
optional<int> on =3D om;            // on is engaged; its contained value i=
s 1
om =3D 2;                           // om is engaged; its contained value i=
s 2
assert (on !=3D om);                // on still contains 3. They are not po=
inters


on still contains 1 not 3

-------

*ol =3D 9;                          // the object contained in ol becomes 9
assert(*ol =3D=3D 9);

I'd prefer // the *value* contained in ol becomes 9
as you talk about contained value everywhere else,
and it keeps it conceptual, not implementation.

-------

only a basic exception sagety guarantee

safety

-------

--=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/?hl=3Den.



.
