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

[thread.syn] Should <thread> include <initializer_list>? #3988

Closed
frederick-vs-ja opened this issue May 8, 2020 · 2 comments · Fixed by #3991 or #4011
Closed

[thread.syn] Should <thread> include <initializer_list>? #3988

frederick-vs-ja opened this issue May 8, 2020 · 2 comments · Fixed by #3991 or #4011

Comments

@frederick-vs-ja
Copy link
Contributor

This commit added #include <initializer_list> to the synopsis of <thread>. However, it seems that LWG3330 only requires including <compare>.

@jensmaurer
Copy link
Member

Indeed, that appears to be a misapplied motion.

@burblebee , can you shed some light onto this?
@zygoloid , this probably needs to be fixed in the C++20 DIS as well. Attaching the milestone.

@jwakely
Copy link
Member

jwakely commented May 11, 2020

Looks like a copy&paste error from one of the other headers where a comment was being added to the #include <initializer_list> line.

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