C++ Logo

liaison

Advanced search

[wg14/wg21 liaison] P2311 alternative: Jedi bool literals

From: will wray <wjwray_at_[hidden]>
Date: Tue, 4 May 2021 12:05:30 -0400
Re: Make false and true first-class language features

C++ already has binary literals, with 0b prefix.

C should switch to the dark side, assimilate,
and force 0b1 and 0b0 to be 'Jedi bool literals'
their true (and false) destiny.

The paper should skip R1 and go with R2

Happy May the Fourth

Received on 2021-05-04 11:05:46