220 2767 <CAOHCbiuqE4qJGaej4Q5iupOHnE5vk0U1_6VEfofa=b5BYtrj=g@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: optional -- errata
Date: Thu, 7 Feb 2013 14:24:18 -0500
Lines: 168
Approved: news@gmane.org
Message-ID: <CAOHCbiuqE4qJGaej4Q5iupOHnE5vk0U1_6VEfofa=b5BYtrj=g@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: ger.gmane.org 1360265066 5850 80.91.229.3 (7 Feb 2013 19:24:26 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 7 Feb 2013 19:24:26 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCUZ5QWKNQIOH7WPRACRUBEMI5ATI@isocpp.org Thu Feb 07 20:24:46 2013
Return-path: <std-proposals+bncBCUZ5QWKNQIOH7WPRACRUBEMI5ATI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ia0-f200.google.com ([209.85.210.200])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCUZ5QWKNQIOH7WPRACRUBEMI5ATI@isocpp.org>)
	id 1U3X5L-0001Xt-IS
	for gclcip-std-proposals@m.gmane.org; Thu, 07 Feb 2013 20:24:39 +0100
Original-Received: by mail-ia0-f200.google.com with SMTP id o25sf4216486iad.3
        for <gclcip-std-proposals@m.gmane.org>; Thu, 07 Feb 2013 11:24:20 -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: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;
        bh=O6Ee3GcpGLvkZU12AxhRoJ2xQQjkaROhSGBT34PtD2I=;
        b=wzZqUivKvuOOgsaiYMsyTLDL3lxhZ3TkJQ7c24ecAxR4+VE2p7BohcLTqrqk2Ns65C
         eoOh3/J0mwH70wblFWKzO80SFStNSyswd+zj+La1Rzdn8keWeyusCVhY4lVqv0bmwhI3
         7Z7ZsFv936YrWOBtNw6maCfVxLS5q4EcnRTzJvMkbhHmoNf+cqg7BMX1CVdKL67CQxf4
         JzHgjyS9rA5r3buE/fCpilTjjG+1DnM1IdjiSvrlLPJNmCULYI9kO1fcAZSJ1wEUWzI3
         IH/GOBssEmYxVv2r/H1M/ffEebDFybUjGUBZu1QPl52XT5ljTSR7ie2X+9mjuDW3oU7n
         dJNA 
X-Received: by 10.182.212.37 with SMTP id nh5mr325065obc.20.1360265060003;
        Thu, 07 Feb 2013 11:24:20 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.182.250.83 with SMTP id za19ls146470obc.63.gmail; Thu, 07 Feb
 2013 11:24:19 -0800 (PST)
X-Received: by 10.60.1.225 with SMTP id 1mr2044665oep.141.1360265059032;
        Thu, 07 Feb 2013 11:24:19 -0800 (PST)
X-Received: by 10.60.1.225 with SMTP id 1mr2044664oep.141.1360265059017;
        Thu, 07 Feb 2013 11:24:19 -0800 (PST)
Original-Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169])
        by mx.google.com with ESMTPS id h4si29009177obn.44.2013.02.07.11.24.18
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Thu, 07 Feb 2013 11:24:19 -0800 (PST)
Received-SPF: pass (google.com: domain of tvaneerd@gmail.com designates 209.85.214.169 as permitted sender) client-ip=209.85.214.169;
Original-Received: by mail-ob0-f169.google.com with SMTP id ta14so3082400obb.28
        for <std-proposals@isocpp.org>; Thu, 07 Feb 2013 11:24:18 -0800 (PST)
X-Received: by 10.182.8.70 with SMTP id p6mr2048687oba.90.1360265058841; Thu,
 07 Feb 2013 11:24:18 -0800 (PST)
Original-Received: by 10.182.126.130 with HTTP; Thu, 7 Feb 2013 11:24:18 -0800 (PST)
X-Original-Sender: tvaneerd@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of tvaneerd@gmail.com designates 209.85.214.169 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:2767
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/2767>

Since I was reading through the proposal anyhow, I jotted down some
small stuff as I went along.  Hopefully if you search for each snippet
I quote, you can find it in your doc.


-------


"Any valid initialization scheme must provide a way to put an optional
objects to any of these states"

objects -> object


-------


It becomes even ore useful in copy-initialization contextx like
returning values from functions

contextx -> context


-------


However, that causes first the creation od disengaged optional, and
then copying it multiple times

od -> of

and again:  lack od default constructor


-------


if (opt2 == {}) ...        // ilegal

ilegal -> illegal


-------


 unclear if the author did not really intend to comare two T's.

comare -> compare


-------


With additional requirement that optional's move constructor should
not be trivial

-> With *the* additional requirement...


-------



This controversy is charachteristic not only of optional.

charachteristic -> characteristic


-------


Returning lvalue reference might prevent move optimizationreturning an rvalue

-> optimization; returning


-------



painfully_compte_default -> painfully_compute_default
(in a few places)


-------


diverge from one another in terms of the interface: mpart pointers have ptr
mpart -> smart



-------


We chose not topropose it.


-------




Undoubtadly, it spares you from an explicit if-statement and a
two-phase initialization

-> Undoubtedly


-------



 The address stored by the optional object can be canged or set to a
value that does not represent a valid address.

canged -> changed


-------



or a possibli cv-qualified reference
possibly


-------



Being engaged or disengaged is part of the state optional object's state.
->
Being engaged or disengaged is part of the optional object's state.


-------




The reson to provide such genereic assignment
-> generic


-------



with forwarded argument pack as parameters.
with the forwarded argument pack as parameters.


-------


Tony

-- 

--- 
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/?hl=en.



.
