cplusplus / nbballot

Handling of NB comments in response to ballots
14 stars 4 forks source link

GB-082 17.14.5 [stdbool.h.syn] Deprecate contents of `<stdbool.h>` #453

Closed wg21bot closed 1 year ago

wg21bot commented 1 year ago

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.

jfbastien commented 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

billy-baker commented 1 year ago

2022-11-08 13:00 to 15:00 UTC-10 Kona Library Evolution Meeting

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.

Next Steps

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.

jwakely commented 1 year ago

This will be addressed by LWG 3827

brycelelbach commented 1 year ago

2022-11 Library Evolution Electronic Poll Outcomes

Poll 1.20: Send the proposed resolution to C++23 National Body comment GB-082 Deprecate Contents Of to Library Working Group for C++23, classified as an improvement of an existing feature ([P0592R4] bucket 2 item).

Strongly Favor Weakly Favor Neutral Weakly Against Strongly Against
16 6 0 0 0

Outcome: Unanimous consensus in favor.

brycelelbach commented 1 year ago

@JeffGarland heads up.

JeffGarland commented 1 year ago

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
jwakely commented 1 year ago

Accepted with modification.