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

[stacktrace.syn] should depict <stacktrace> including <compare> #5373

Closed
StephanTLavavej opened this issue Mar 30, 2022 · 0 comments · Fixed by #5374
Closed

[stacktrace.syn] should depict <stacktrace> including <compare> #5373

StephanTLavavej opened this issue Mar 30, 2022 · 0 comments · Fixed by #5374
Assignees

Comments

@StephanTLavavej
Copy link
Contributor

As of N4910, I observe that [stacktrace.syn] doesn't depict #include <compare>, but [stacktrace.entry.overview] specifies

friend constexpr strong_ordering operator<=>(const stacktrace_entry& x, const stacktrace_entry& y) noexcept;

This appears to have been a simple race condition with LWG-3330 "Include <compare> from most library headers". The LWG issue was accepted in Feb 2020 before <stacktrace> was accepted in Nov 2020.

@jwakely, @CaseyCarter, and I believe that the LWG's intent is very clear, and this is a very simple issue, so we hope that it can be resolved editorially without the need for a separate LWG issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants