Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P3112 R0 Specify Constructor of std::nullopt_t #1774

Open
wg21bot opened this issue Feb 16, 2024 · 2 comments
Open

P3112 R0 Specify Constructor of std::nullopt_t #1774

wg21bot opened this issue Feb 16, 2024 · 2 comments
Labels
EWG Evolution IS Ship vehicle: IS LEWG Library Evolution LWG Library needs-revision Paper needs changes before it can proceed size - medium paper size estimate
Milestone

Comments

@wg21bot
Copy link
Collaborator

wg21bot commented Feb 16, 2024

P3112R0 Specify Constructor of std::nullopt_t (Brian Bi)

@wg21bot wg21bot added LEWG Library Evolution LWG Library labels Feb 16, 2024
@wg21bot wg21bot added this to the 2024-telecon milestone Feb 16, 2024
@cor3ntin
Copy link

@jwakely @inbal2l this looks like something that should go straight to LWG, WDYT?

@cor3ntin
Copy link

cor3ntin commented May 14, 2024

This was discussed on the mailing list (Mon, 29 Apr 2024) https://lists.isocpp.org/lib-ext/2024/04/27282.php

LEWG did not feel a change to be compelling, arguing that submitting an issue to libstdc++ to be consistent with clang and msvc might be more effective.
The code patterns this would allow were not found to be motivating.

Further discussions are likely to depend on the outcome of https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#2525 (@jensmaurer).

That being said, the paper seems to be aligned with the intent [optional.nullopt] so I still think LWG can legiferate on this paper independently of LEWG.

It was observed that this paper also touches on LWG2510, for which LWG might want a more holistic resolution.

LEWG asks that the author (with the help of CWG, LWG chairs) explore a more general modification: stop using explicit constructors where no type is named explicitly.

https://lists.isocpp.org/lib-ext/2024/05/27369.php

@inbal2l inbal2l added needs-revision Paper needs changes before it can proceed EWG Evolution size - medium paper size estimate IS Ship vehicle: IS labels May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EWG Evolution IS Ship vehicle: IS LEWG Library Evolution LWG Library needs-revision Paper needs changes before it can proceed size - medium paper size estimate
Projects
Status: No status
Development

No branches or pull requests

3 participants