-----Ursprüngliche Nachricht-----
Von: Simon Hill via Std-Proposals <std-proposals@lists.isocpp.org>
Gesendet: Mi 03.05.2023 17:21
Betreff: Re: [std-proposals] New draft proposal: Add "%s" (two-digit truncated-integer seconds) as a std::format conversion specifier for std::chrono time types.
An: std-proposals@lists.isocpp.org;
CC: Simon Hill <protogrammer@gmx.com>;
But people learn that a single logical operator is bitwise, and a double logical operator is boolean. They then have to remember that ^ doesn't have a bitwise equivalent.


^ is already bitwise. You mean ^ has no logical equivalent?

Some logical operators use doubled symbols, some not.

&& and || specifically stand for the short-circuit evaluation.

Otherwise for consistency one would want to introduce !! instead of ! for logical NOT, which would lead to a lot of confusion and faulty programs.