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: Jonathan Wakely <cxx_at_[hidden]>
Date: Thu, 4 May 2023 09:41:30 +0100
On Thu, 4 May 2023 at 08:49, Sebastian Wittmeier via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> Some prior art:
>
> https://docs.raku.org/language/operators#infix_^^
>
>
>
> If chained to at least three operands:
>
> A ^^ B ^^ C ^^ ...
>
> unlike ^, it does not calculate parity, but whether exactly one operand is
> TRUE and does so in a short-circuit way.
>

That seems different to Simon's suggestion, right? So the prior art for
using the operator token is different again (although not as different as
in D).

Received on 2023-05-04 08:41:44