220 20775 <6a782a3e-dbd5-475a-b230-8ce7feafb8db@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Myriachan <myriachan@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Null -conditional and -coalescing operators
Date: Thu, 24 Sep 2015 11:48:01 -0700 (PDT)
Lines: 75
Approved: news@gmane.org
Message-ID: <6a782a3e-dbd5-475a-b230-8ce7feafb8db@isocpp.org>
References: <4c3e2ee7-2159-4e93-a439-7d5c94c38c9c@isocpp.org> <6a0ad653-4764-483b-afb5-74d444be15d9@isocpp.org> <09547076-d049-4d87-acc3-b851e6518942@isocpp.org>
 <2242837.lDbo80ytWE@tjmaciei-mobl4>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_1372_428541199.1443120481506"
X-Trace: ger.gmane.org 1443120485 27445 80.91.229.3 (24 Sep 2015 18:48:05 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 24 Sep 2015 18:48:05 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDKLT4PURQHRBYUKSGYAKGQEZR6B5AY@isocpp.org Thu Sep 24 20:48:05 2015
Return-path: <std-proposals+bncBDKLT4PURQHRBYUKSGYAKGQEZR6B5AY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pa0-f69.google.com ([209.85.220.69])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDKLT4PURQHRBYUKSGYAKGQEZR6B5AY@isocpp.org>)
	id 1ZfBYq-0008L9-BC
	for gclcip-std-proposals@m.gmane.org; Thu, 24 Sep 2015 20:48:04 +0200
Original-Received: by pav10 with SMTP id 10sf138667197pav.1
        for <gclcip-std-proposals@m.gmane.org>; Thu, 24 Sep 2015 11:48:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :content-type: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=sLAV/q7GbFBT3v+JeVhOhqh35MTjA1wi1tVXV7+r8AE=;
        b=s5MK2V6Tc0hjbF4wicMsggYoyTM2SVqd86gf6j9XNWg1rpeIbJgkz9t5ByxA/U5+8X
         Vlm4e2AGEebigsSARPY54bNxUK+1lItv9reJZqjojgEsY5xw8jrYztzHZE/VdP48WING
         h2P0XhINt5Yl40zLWjqFRYVmGWByue2VohbOPqDS/Ms0ce5Un4BUfPm8BmUA0TlPFbo5
         I2VtOmQKbz9CIg8caKvLAdlG8ETZcosYSWYisWOp4uu0BkskLR1eAMg3gYpH00Xay5JT
         RBBwaQQTlN1L4kKk/StkWhoFCA4GaTHZOEba8A50ElhA1I9M/DnhwOBpUN723GdaULok
         H4aA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:content-type: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=sLAV/q7GbFBT3v+JeVhOhqh35MTjA1wi1tVXV7+r8AE=;
        b=OhvuY4yIRSqVUj0Zg2KTOVWT58bovn9ZqiwSsyHYfBt2mWWSbpZFJJM6xIwMpLr974
         v/tH/4UQWx+XwjlvEeceghPrxwrOStnb+kxYp9PrxWB9MF6ekiaYqXdL6XGWIherVz+K
         r6JFR+rIOVYXIiB1/RYYbQUJBBUfFGlROW+2N9o47Sm+F2Etvdte6FOlbBFqexEvH6H+
         ZX1EVbnNNppbucM2gCBwQU7bPIiyPxxy3CNPRTLApGrjN/yIgW5D3QUcGzZ0/3Qp/OV5
         Z2KOAYPiCrjXIMnnU3VskfDR0oQGm3fgmaN7SnH0NRYWRX8rN9k7ik5NyjNKPSW0sCej
         uWBQ==
X-Gm-Message-State: ALoCoQmDqLMvDLQYvZdb4K1w6+Of+iIX1/NCwHHTSJbwKAcRaY8jRmmzBbj+jU93lTqpQ9LHWEVO
X-Received: by 10.66.140.40 with SMTP id rd8mr1010583pab.31.1443120482754;
        Thu, 24 Sep 2015 11:48:02 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.50.60.34 with SMTP id e2ls6005igr.4.canary; Thu, 24 Sep 2015
 11:48:02 -0700 (PDT)
X-Received: by 10.50.142.9 with SMTP id rs9mr42773igb.6.1443120482024;
        Thu, 24 Sep 2015 11:48:02 -0700 (PDT)
In-Reply-To: <2242837.lDbo80ytWE@tjmaciei-mobl4>
X-Original-Sender: myriachan@gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: 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: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:20775
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/20775>

------=_Part_1372_428541199.1443120481506
Content-Type: multipart/alternative; 
	boundary="----=_Part_1373_1970431957.1443120481507"

------=_Part_1373_1970431957.1443120481507
Content-Type: text/plain; charset=UTF-8

On Tuesday, September 22, 2015 at 11:06:57 PM UTC-7, Thiago Macieira wrote:
>
> However, I would like to see the syntax standardised. When you're dealing 
> with 
> C code that returns error conditions, this is useful: 
>
>         ErrorCode err = some_function(); 
>         err = err ?: some_other_function(); 
>         err = err ?: some_third_function(); 
>
>
Me too, but since it was rejected in May of this year, good luck =/

One way to get this would be to convince the C committee, which would put 
pressure on the C++ committee.  That GCC and Clang already support this is 
important.

Melissa

-- 

--- 
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/.

------=_Part_1373_1970431957.1443120481507
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Tuesday, September 22, 2015 at 11:06:57 PM UTC-7, Thiag=
o Macieira wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margi=
n-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">However, I wo=
uld like to see the syntax standardised. When you&#39;re dealing with=20
<br>C code that returns error conditions, this is useful:
<br>
<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ErrorCode err =3D some_=
function();
<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0err =3D err ?: some_oth=
er_function();
<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0err =3D err ?: some_thi=
rd_function();
<br>
<br></blockquote><div><br>Me too, but since it was rejected in May of this =
year, good luck =3D/<br><br>One way to get this would be to convince the C =
committee, which would put pressure on the C++ committee.=C2=A0 That GCC an=
d Clang already support this is important.<br><br>Melissa<br></div></div>

<p></p>

-- <br />
<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 <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 />
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 />

------=_Part_1373_1970431957.1443120481507--
------=_Part_1372_428541199.1443120481506--

.
