Closed wg21bot closed 1 year ago
Related: https://github.com/cplusplus/nbballot/issues/454 This deprecation would obviate the need for https://github.com/cplusplus/nbballot/issues/502
GB-082: Deprecate contents of <stdbool.h>
2022-11-08 13:00 to 15:00 UTC-10 Kona Library Evolution Minutes
Champion: Jonathan Wakely (remote)
Chair: Billy Baker & Nevin Liber
Minute Taker: Mark Zeren
POLL: Accept GB-082 to deprecate `bool_true_false_are_defined` and move it to Annex D.__
Strongly Favor | Weakly Favor | Neutral | Weakly Against | Strongly Against |
---|---|---|---|---|
11 | 4 | 1 | 0 | 0 |
Attendance: 17 (in person) + 6 (remote)
# of Authors: 1
Author Position: SF
Outcome: Strong consensus to accept GB-82.
Library Evolution sends GB-082 (deprecate __bool_true_false_are_defined
and move it to Annex D), to Library, for C++23. This will be confirmed via a Library Evolution electronic poll.
Poll 1.20: Send the proposed resolution to C++23 National Body comment GB-082 Deprecate Contents Of
Strongly Favor | Weakly Favor | Neutral | Weakly Against | Strongly Against |
---|---|---|---|---|
16 | 6 | 0 | 0 | 0 |
Outcome: Unanimous consensus in favor.
@JeffGarland heads up.
https://wiki.edg.com/bin/view/Wg21issaquah2023/LWG3827-20230206
poll: accept the proposed resolution in LWG3827 as modified and make it immediate?
F | A | N |
---|---|---|
14 | 0 | 0 |
Accepted with modification.
C2x supports bool as a built-in type, and true and false as keywords. Consequently, C2x marks the __bool_true_false_are_defined as obsolescent. C++23 should deprecate that attribute now, rather than wait until a future C++ standard is based on C2x. That gives users longer to prepare for the removal of the macro.
Deprecate __bool_true_false_are_defined and move it to Annex D. Maybe keep a note in [stdbool.h.syn] that the macro is present but deprecated.