-
Notifications
You must be signed in to change notification settings - Fork 110
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
[oneDPL] Clarify the version of the C++ standard for the oneDPL spec #500
Conversation
@@ -5,7 +5,8 @@ | |||
Parallel API | |||
------------ | |||
|
|||
oneDPL provides the set of algorithms with execution policies as defined by the `C++ Standard`_. | |||
oneDPL provides the set of parallel algorithms as defined by the `C++ Standard`_, | |||
including parallel algorithms added in the 6th edition known as C++20. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to say
including parallel algorithms added in the 6th edition known as C++20. | |
including parallel algorithms added in the International Standard ISO/IEC 14882:2020 known as C++20. |
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm okay with either.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to https://www.iso.org/standard/79358.html, C++20 is the 6th edition of the standard. Since a reference to the standard is already given in this sentence, I think it's quite clear what "the 6th edition" refers to.
I can do this change here, but then the other mentioning of the 6th edition below will look less clear.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR looks good to me. I've provided comments on Ruslan's suggestions.
@@ -5,7 +5,8 @@ | |||
Parallel API | |||
------------ | |||
|
|||
oneDPL provides the set of algorithms with execution policies as defined by the `C++ Standard`_. | |||
oneDPL provides the set of parallel algorithms as defined by the `C++ Standard`_, | |||
including parallel algorithms added in the 6th edition known as C++20. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm okay with either.
Explicitly say that the base C++ standard version is C++17, but the parallel API also implements algorithms & policies from C++20