220 18686 <1464415.iy2aHB31Tl@tjmaciei-mobl4> article
Path: news.gmane.org!not-for-mail
From: Thiago Macieira <thiago@macieira.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: if not (expression) like python
Date: Fri, 19 Jun 2015 10:46:30 -0700
Lines: 37
Approved: news@gmane.org
Message-ID: <1464415.iy2aHB31Tl@tjmaciei-mobl4>
References: <51565265-ec78-4f6b-b684-64aed8fd9a57@isocpp.org> <558400A2.2040005@gmail.com> <8f64343f-e5b8-424a-83df-4385c46c5ef9@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
X-Trace: ger.gmane.org 1434736007 30596 80.91.229.3 (19 Jun 2015 17:46:47 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 19 Jun 2015 17:46:47 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRB6VKSGWAKGQEOJQU3DI@isocpp.org Fri Jun 19 19:46:39 2015
Return-path: <std-proposals+bncBCB4TK757YBRB6VKSGWAKGQEOJQU3DI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wi0-f197.google.com ([209.85.212.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCB4TK757YBRB6VKSGWAKGQEOJQU3DI@isocpp.org>)
	id 1Z60N9-0004rB-EW
	for gclcip-std-proposals@m.gmane.org; Fri, 19 Jun 2015 19:46:35 +0200
Original-Received: by wicnd19 with SMTP id nd19sf7031227wic.0
        for <gclcip-std-proposals@m.gmane.org>; Fri, 19 Jun 2015 10:46:35 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:to:subject:date:message-id:user-agent
         :in-reply-to:references:mime-version: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=vgK+kxGCUztE/IJN7GCsHI0a+un/A8kyu/roc+cNZas=;
        b=IMVsqCqOiE4QFCnXsm/ZZieOWe+Y/ZhtwdSp4pVo5SGK8RsGerTgxqzTGxIA6epTof
         Qd11kkK/wTKHn/oTzCf/CI7CRGNuwCxsQ6eFHk1k+6xKaOfPie7m+IT5B5E+HQbE6LmJ
         OXjTylRZOKL0DiO2ZQcKtdERcAOx0T3A4zYb3wICFWeY8pMA0QuAkW3PHEwBs8Y1V1B6
         QNVVSFhNhPmgcrP4XyqDnnYsnwkXSh//NnbLXqhdhgTZa5Uzla5P5puidBTcGcV0i+qo
         JlOiZE9TibXzNZkcXhthWphYXSS4gE5M2FxdY+eUpSnD1gW0qX/G0msVKiVoSlO0Ezhr
         vuCA= 
X-Gm-Message-State: ALoCoQlKvm6fhBgYVkFNfNafMsw8BMULUyp+qza/2RqE3pN5JVmXwv0k6udzlyCGUoSv9LC2ONhK
X-Received: by 10.180.86.98 with SMTP id o2mr4153985wiz.4.1434735995077;
        Fri, 19 Jun 2015 10:46:35 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.99.228 with SMTP id et4ls222218wib.24.gmail; Fri, 19 Jun
 2015 10:46:34 -0700 (PDT)
X-Received: by 10.180.72.179 with SMTP id e19mr8863137wiv.53.1434735994210;
        Fri, 19 Jun 2015 10:46:34 -0700 (PDT)
Original-Received: from gondolin.macieira.info (gondolin.macieira.info. [2a01:4f8:d13:f81:21c:14ff:fe01:12a3])
        by mx.google.com with ESMTP id cj8si21016837wjc.164.2015.06.19.10.46.34
        for <std-proposals@isocpp.org>;
        Fri, 19 Jun 2015 10:46:34 -0700 (PDT)
Received-SPF: pass (google.com: domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3 as permitted sender) client-ip=2a01:4f8:d13:f81:21c:14ff:fe01:12a3;
Original-Received: from tjmaciei-mobl4.localnet (jfdmzpr04-ext.jf.intel.com [134.134.137.73])
	by gondolin.macieira.info (Postfix) with ESMTPSA id 7B63011B5B7
	for <std-proposals@isocpp.org>; Fri, 19 Jun 2015 10:46:33 -0700 (PDT)
User-Agent: KMail/4.14.8 (Linux/4.0.4-1-desktop; KDE/4.14.8; x86_64; ; )
In-Reply-To: <8f64343f-e5b8-424a-83df-4385c46c5ef9@isocpp.org>
X-Original-Sender: thiago@macieira.org
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3
 as permitted sender) smtp.mail=thiago@macieira.org
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:18686
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/18686>

On Friday 19 June 2015 04:48:12 Diman Shatilov wrote:
> Cool! How I missed it?

Most people don't know it.

       and       &&
       and_eq    &=
       bitand    &
       bitor     |
       compl     ~
       not       !
       not_eq    !=
       or        ||
       or_eq     |=
       xor       ^
       xor_eq    ^=

See 2.11 [lex.key]/2 and 2.12 [lex.operators].

> Please, remove the topic

Can't do it. It's archived forever now.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

-- 

--- 
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/.

.
