C++ Logo

std-proposals

Advanced search

Re: [std-proposals] ^^operator [was: Re: New draft proposal: Add "%s" (two-digit truncated-integer seconds) as a std::format conversion specifier for std::chrono time types.]

From: Thiago Macieira <thiago_at_[hidden]>
Date: Thu, 04 May 2023 07:35:06 -0700
On Thursday, 4 May 2023 01:52:48 PDT David Brown via Std-Proposals wrote:
> You can also do "!!x ^ !!y", using the "convert to bool operator" !!.
> Alternatively, "!x ^ !y" saves two keypresses :-)

This can also be spelt:

 !x != !y

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DCAI Cloud Engineering

Received on 2023-05-04 14:35:07