220 2172 <CAPXezF_JggyMaXjGS9r1EAGVu1NhQBEyGEXB8tKmVqgFfjoCeg@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Fernando Cacciola <fernando.cacciola@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: optional<T>, one more value or two states
Date: Thu, 24 Jan 2013 17:07:21 -0300
Lines: 54
Approved: news@gmane.org
Message-ID: <CAPXezF_JggyMaXjGS9r1EAGVu1NhQBEyGEXB8tKmVqgFfjoCeg@mail.gmail.com>
References: <CAGsORuC1ADLXgS9AZZiTo=knmhT-+9Yj+82v+b8Nq_WJpb1fOg@mail.gmail.com>
 <CAFk2RUZyZA0LLUNuVNcnibv+qBF69jMytWQL3tkp-Kp21oEU+A@mail.gmail.com>
 <CAGsORuB-Qkx-LaXj2jO4yLrwN524kiJONSg7oczkQZHYaJ6ASg@mail.gmail.com> <d360a952-28ae-4d57-bb20-96fd08725a0b@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 1359058083 27702 80.91.229.3 (24 Jan 2013 20:08:03 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 24 Jan 2013 20:08:03 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCOPV7FAXQPRBIVJQ2EAKGQEWM33VFQ@isocpp.org Thu Jan 24 21:08:21 2013
Return-path: <std-proposals+bncBCOPV7FAXQPRBIVJQ2EAKGQEWM33VFQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-oa0-f71.google.com ([209.85.219.71])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCOPV7FAXQPRBIVJQ2EAKGQEWM33VFQ@isocpp.org>)
	id 1TyT5w-0006I3-Ik
	for gclcip-std-proposals@m.gmane.org; Thu, 24 Jan 2013 21:08:20 +0100
Original-Received: by mail-oa0-f71.google.com with SMTP id n12sf51382110oag.10
        for <gclcip-std-proposals@m.gmane.org>; Thu, 24 Jan 2013 12:08:02 -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
         :x-received:mime-version:in-reply-to:references:from:date:message-id
         :subject: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=sjRIAGRvc9QhssBYZOI+SQZatKyUhoiyK9kD0f7vIaw=;
        b=P0/dvWu3I7oV6EtyIFBYTZawhyCO5xby7ArRYhB7jSg1M0Wj00PwzTR2x28ONkKBTv
         mzOo9/wZHjjlDyLnvKLzmIqXxVoy2Hb94jnSU1FR4xQVeMDRsLFuoRiIMNtu0ogsOCds
         d8v5ZyhIBuPxN+gx3FYEdUpCm0uHVVRJnIzvXEnZEQgZ/3UKoWMKip/ZpPXSwSdDp/vi
         OpuCfEs4eAdmtif84ib23eUHgeHDt5TA7GPRDZk4LtgB7yIhVZGCBmT1INqnQJzf0/50
         QMid4t/3UkZVBv6yZZ2Yjzm 
X-Received: by 10.182.116.35 with SMTP id jt3mr817614obb.6.1359058082574;
        Thu, 24 Jan 2013 12:08:02 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.182.49.103 with SMTP id t7ls191273obn.89.gmail; Thu, 24 Jan
 2013 12:08:02 -0800 (PST)
X-Received: by 10.60.169.205 with SMTP id ag13mr2575581oec.40.1359058082128;
        Thu, 24 Jan 2013 12:08:02 -0800 (PST)
X-Received: by 10.60.169.205 with SMTP id ag13mr2575578oec.40.1359058082113;
        Thu, 24 Jan 2013 12:08:02 -0800 (PST)
Original-Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182])
        by mx.google.com with ESMTPS id k10si25384195oeg.51.2013.01.24.12.08.02
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Thu, 24 Jan 2013 12:08:02 -0800 (PST)
Received-SPF: pass (google.com: domain of fernando.cacciola@gmail.com designates 209.85.214.182 as permitted sender) client-ip=209.85.214.182;
Original-Received: by mail-ob0-f182.google.com with SMTP id uo13so5458443obb.27
        for <std-proposals@isocpp.org>; Thu, 24 Jan 2013 12:08:02 -0800 (PST)
X-Received: by 10.60.8.199 with SMTP id t7mr2496617oea.26.1359058081962; Thu,
 24 Jan 2013 12:08:01 -0800 (PST)
Original-Received: by 10.182.222.74 with HTTP; Thu, 24 Jan 2013 12:07:21 -0800 (PST)
In-Reply-To: <d360a952-28ae-4d57-bb20-96fd08725a0b@isocpp.org>
X-Original-Sender: fernando.cacciola@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of fernando.cacciola@gmail.com designates 209.85.214.182 as permitted
 sender) smtp.mail=fernando.cacciola@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:2172
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/2172>

On Thu, Jan 24, 2013 at 12:22 PM, Andrzej Krzemie=F1ski
<akrzemi1@gmail.com> wrote:
>
>
> W dniu czwartek, 24 stycznia 2013 14:52:22 UTC+1 u=BFytkownik Zhihao Yuan
> napisa=B3:
>>
>> On Thu, Jan 24, 2013 at 7:38 AM, Ville Voutilainen
>> <ville.vo...@gmail.com> wrote:
>> > I have since cured that problem in my head, there's no 'danger' involv=
ed
>> > in
>> > it.
>>
>> The danger already shows up.
>>
>> Quoting from the proposal:
>>
>>   "Such implicit conversions impose some risk of introducing bugs,
>>    and in fact in order to avoid one such possible bug we had to 'poison=
'
>>    comparisons between optional<T> and T."
>>
>> And a carefully specified comparison logic is under discussion.
>
>
> The perceived danger is the opinion of the authors (myself included).

To be honest, it is more that I was sold into it :)

Again if it where entirely up to me, I would put this back in as well
as mixed comparison operators.

So, it's once a again more of a matter of gauging the probable
reaction among voting committee members.

--
Fernando Cacciola
SciSoft Consulting, Founder
http://www.scisoft-consulting.com

--=20

---=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To post to this group, send email to std-proposals@isocpp.org.
To unsubscribe from this group, send email to std-proposals+unsubscribe@iso=
cpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposa=
ls/?hl=3Den.



.
