220 20637 <56019FF4.7090204@mail1.stofanet.dk> article
Path: news.gmane.org!not-for-mail
From: Bjorn Reese <breese@mail1.stofanet.dk>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Null -conditional and -coalescing operators
Date: Tue, 22 Sep 2015 20:37:40 +0200
Lines: 16
Approved: news@gmane.org
Message-ID: <56019FF4.7090204@mail1.stofanet.dk>
References: <4c3e2ee7-2159-4e93-a439-7d5c94c38c9c@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
X-Trace: ger.gmane.org 1442947073 31159 80.91.229.3 (22 Sep 2015 18:37:53 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 22 Sep 2015 18:37:53 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCRLNYMEK4IPLP4GWACRUBG7EG33O@isocpp.org Tue Sep 22 20:37:44 2015
Return-path: <std-proposals+bncBCRLNYMEK4IPLP4GWACRUBG7EG33O@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-la0-f72.google.com ([209.85.215.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCRLNYMEK4IPLP4GWACRUBG7EG33O@isocpp.org>)
	id 1ZeSRi-0003M3-Se
	for gclcip-std-proposals@m.gmane.org; Tue, 22 Sep 2015 20:37:42 +0200
Original-Received: by lamf6 with SMTP id f6sf11530656lam.1
        for <gclcip-std-proposals@m.gmane.org>; Tue, 22 Sep 2015 11:37:42 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:subject:to:references:from:message-id:date
         :user-agent:mime-version:in-reply-to:content-type:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=B5Qg0DQBtSIJ019exdoqN1ftd3vyTyqsGBabweEtEBc=;
        b=cpnd5dlInQRpADAgwjWp9dpf55ZY8xYmETCI2Bl4AgEzsxoaNvjuql574NhnLwcXXj
         3YZjZQlkYMKQbiK16qzj12YWkGdFMFu68blskKAWWo4/7qfMxWPWoa08VfiHZTeKh7sf
         RQE0V5ParkQ8l45mozgX6uvdN1xShiQTR1T+3w2zabydboGnKaHGWYA3eDa/yfnZ7Zzi
         y6+TPF0rloqtt6ft4gmBUnrzWWf3ZL/9LQdnaJzuvO5FXIgTyi0ZbLY6uZJ4SmhPnEGE
         Z51lNOV7MWJOYC03g68XdrS88Q/jk9B7CjxfaKb23KiKvM1y4LLgTtXLxWiS8DVUM/r7
         ZARw= 
X-Gm-Message-State: ALoCoQmHkAi8m16Vp7BmhVTFXzGG650fe0q3AZ+SwehXGS9J9420JqNQBwceSAs73UARtzY/7sx0
X-Received: by 10.112.170.67 with SMTP id ak3mr4518919lbc.6.1442947062378;
        Tue, 22 Sep 2015 11:37:42 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.86.234 with SMTP id s10ls172473wiz.33.gmail; Tue, 22 Sep
 2015 11:37:41 -0700 (PDT)
X-Received: by 10.194.116.106 with SMTP id jv10mr35103571wjb.0.1442947061494;
        Tue, 22 Sep 2015 11:37:41 -0700 (PDT)
Original-Received: from mx-aarh-1.stofanet.dk (mx-aarh-1.stofanet.dk. [212.10.10.11])
        by mx.google.com with ESMTPS id r7si4031809wjz.179.2015.09.22.11.37.41
        for <std-proposals@isocpp.org>
        (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
        Tue, 22 Sep 2015 11:37:41 -0700 (PDT)
Received-SPF: pass (google.com: domain of breese@mail1.stofanet.dk designates 212.10.10.11 as permitted sender) client-ip=212.10.10.11;
Original-Received: from 56341ecc.rev.stofanet.dk ([86.52.30.204] helo=[192.168.1.145])
	by mx-aarh-1.stofanet.dk (envelope-from
	<breese@mail1.stofanet.dk>)
	with esmtpa id 1ZeSRh-0005M2-0F
	for std-proposals@isocpp.org; Tue, 22 Sep 2015 20:37:41 +0200
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101
 Thunderbird/38.2.0
In-Reply-To: <4c3e2ee7-2159-4e93-a439-7d5c94c38c9c@isocpp.org>
X-Original-Sender: breese@mail1.stofanet.dk
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of breese@mail1.stofanet.dk designates 212.10.10.11 as permitted
 sender) smtp.mailfrom=breese@mail1.stofanet.dk
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:20637
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/20637>

On 09/22/2015 07:03 PM, joewoodbury@gmail.com wrote:

> A nice alternative would be:
>
>      connection ?: connection->SendMessage(msg);

connection && connection->SendMessage(msg);

-- 

--- 
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/.

.
