220 18677 <8f64343f-e5b8-424a-83df-4385c46c5ef9@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Diman Shatilov <shatilov.diman@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: if not (expression) like python
Date: Fri, 19 Jun 2015 04:48:12 -0700 (PDT)
Lines: 107
Approved: news@gmane.org
Message-ID: <8f64343f-e5b8-424a-83df-4385c46c5ef9@isocpp.org>
References: <51565265-ec78-4f6b-b684-64aed8fd9a57@isocpp.org>
 <558400A2.2040005@gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_822_1411011421.1434714492590"
X-Trace: ger.gmane.org 1434714501 26451 80.91.229.3 (19 Jun 2015 11:48:21 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 19 Jun 2015 11:48:21 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCH7FVOKRQGRB7MCSCWAKGQEEFPPZYA@isocpp.org Fri Jun 19 13:48:21 2015
Return-path: <std-proposals+bncBCH7FVOKRQGRB7MCSCWAKGQEEFPPZYA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yk0-f199.google.com ([209.85.160.199])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCH7FVOKRQGRB7MCSCWAKGQEEFPPZYA@isocpp.org>)
	id 1Z5umM-0006BA-PZ
	for gclcip-std-proposals@m.gmane.org; Fri, 19 Jun 2015 13:48:14 +0200
Original-Received: by ykfl8 with SMTP id l8sf96292434ykf.0
        for <gclcip-std-proposals@m.gmane.org>; Fri, 19 Jun 2015 04:48:13 -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=G5M44BJDQAwLrj5IvVWjC57p9apnPY5AMdPhdlVKpTQ=;
        b=RVp6YpP82WoUZepI9JKNi+r59zD1O/24dnhgkP3QIc5hjB3GXd23pR0qKDk3Vu8054
         RwpHLsG2c2qYK9/yKvwUXg1mr8+C3rVnhNxKYebjSNhnw5nyrQ9tIT7tD4uPNopzs8Q5
         aWTHnEVh+DFppWVc9+2/aHIsWBKH+NU+O13XQf5vQl4Jad0YlJ7XdjNHMEuJ78k4Tzjk
         GtSmDltpYM81Buw3zG0XzlNQJY3Zrxr3BidanDfZ0r7pQZpoK/kp52DTbarMbod2Ue8r
         vz0m0YXF5ArJDaA3GTbtrlIDxiHhX2LIMG1I1pJdzWkwS45dqVUxW6oHA3ZDoK/JUp/Z
         Z1rw==
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=G5M44BJDQAwLrj5IvVWjC57p9apnPY5AMdPhdlVKpTQ=;
        b=NR+PP9q5DTuxlGj19+bU5UJ6lQAJcPlO3hDb6HStJ6+6HUzAqZ0rOUhsK5oC8NQndy
         69Ne512LRofvwlQ1ZiUCHVQ+xkjLUYz8oOSoqVoywTR6QlPPE0pQq6PZsVylh55zGzji
         f5nPZWY1ycX9Ts2SYqW9zaR2HS95gDJPNWGwzJ00Ki149bpa7PtzPOP/56bO6yenaEUu
         pxy3ZnGyOenSZrQ9VsA0dFgToiVv/EDqRS+Bk7IGvcJNvaepH9RQRq7wFIFd5PQlxvFf
         cdQXt28ulgnFy/su8oqrdc2CG1alXQex7DMkdZa2CLjBWhP0R/Nwgqxu2QrF8IhOCgyi
         Dqdg==
X-Gm-Message-State: ALoCoQngf+/NGbDlyZfL545ILCd7LM/Jfwv68o/dboChq3FMsV2KcNo+sBwz6dAuDRFgL44E3TXC
X-Received: by 10.129.125.133 with SMTP id y127mr20978467ywc.57.1434714493882;
        Fri, 19 Jun 2015 04:48:13 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.104.51 with SMTP id z48ls2042985qge.23.gmail; Fri, 19 Jun
 2015 04:48:13 -0700 (PDT)
X-Received: by 10.140.102.172 with SMTP id w41mr287061qge.40.1434714493278;
        Fri, 19 Jun 2015 04:48:13 -0700 (PDT)
In-Reply-To: <558400A2.2040005@gmail.com>
X-Original-Sender: shatilov.diman@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:18677
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/18677>

------=_Part_822_1411011421.1434714492590
Content-Type: multipart/alternative; 
	boundary="----=_Part_823_207038926.1434714492590"

------=_Part_823_207038926.1434714492590
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Cool! How I missed it?
Please, remove the topic

=D0=BF=D1=8F=D1=82=D0=BD=D0=B8=D1=86=D0=B0, 19 =D0=B8=D1=8E=D0=BD=D1=8F 201=
5 =D0=B3., 14:44:43 UTC+3 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=
=D1=82=D0=B5=D0=BB=D1=8C Evgeny Panasyuk=20
=D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB:
>
> 19.06.2015 14:38, shatilo...@gmail.com <javascript:>:=20
> > Sorry for my poor English.=20
> >=20
> > I suggest to add new keyword '*not*' to the c++17, like in python.=20
> >=20
> > I think=20
> > |ifnot(bag.empty()){}|=20
> > is more readable, then=20
> > |if(bag.empty()=3D=3Dfalse){}=20
> > //or=20
> > if(!bag.empty()){}|=20
>
> C++ already has "not":=20
> http://coliru.stacked-crooked.com/a/43b2a7e11c75e601=20
>
> |if(not bag.empty()) {}|=20
>
> --=20
> Evgeny Panasyuk=20
>

--=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/.

------=_Part_823_207038926.1434714492590
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Cool! How I missed it?<div>Please, remove the topic<br><br=
>=D0=BF=D1=8F=D1=82=D0=BD=D0=B8=D1=86=D0=B0, 19 =D0=B8=D1=8E=D0=BD=D1=8F 20=
15 =D0=B3., 14:44:43 UTC+3 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=
=D1=82=D0=B5=D0=BB=D1=8C Evgeny Panasyuk =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=
=B0=D0=BB:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left:=
 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">19.06.2015 14:38, <a=
 href=3D"javascript:" target=3D"_blank" gdf-obfuscated-mailto=3D"sJj-R8a8Vl=
MJ" rel=3D"nofollow" onmousedown=3D"this.href=3D'javascript:';return true;"=
 onclick=3D"this.href=3D'javascript:';return true;">shatilo...@gmail.com</a=
>:
<br>&gt; Sorry for my poor English.
<br>&gt;
<br>&gt; I suggest to add new keyword '*not*' to the c++17, like in python.
<br>&gt;
<br>&gt; I think
<br>&gt; |ifnot(bag.empty()){}|
<br>&gt; is more readable, then
<br>&gt; |if(bag.empty()=3D=3Dfalse){}
<br>&gt; //or
<br>&gt; if(!bag.empty()){}|
<br>
<br>C++ already has "not": <a href=3D"http://coliru.stacked-crooked.com/a/4=
3b2a7e11c75e601" target=3D"_blank" rel=3D"nofollow" onmousedown=3D"this.hre=
f=3D'http://www.google.com/url?q\75http%3A%2F%2Fcoliru.stacked-crooked.com%=
2Fa%2F43b2a7e11c75e601\46sa\75D\46sntz\0751\46usg\75AFQjCNHcwMDdm8vigClCcks=
SZTpL6OJpNQ';return true;" onclick=3D"this.href=3D'http://www.google.com/ur=
l?q\75http%3A%2F%2Fcoliru.stacked-crooked.com%2Fa%2F43b2a7e11c75e601\46sa\7=
5D\46sntz\0751\46usg\75AFQjCNHcwMDdm8vigClCcksSZTpL6OJpNQ';return true;">ht=
tp://coliru.stacked-crooked.<wbr>com/a/43b2a7e11c75e601</a>
<br>
<br>|if(not bag.empty()) {}|
<br>
<br>--=20
<br>Evgeny Panasyuk
<br></blockquote></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_823_207038926.1434714492590--
------=_Part_822_1411011421.1434714492590--

.
