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

[oneDPL] Clarify the version of the C++ standard for the oneDPL spec #500

Merged
merged 5 commits into from
Sep 11, 2023

Conversation

akukanov
Copy link
Contributor

@akukanov akukanov commented Sep 9, 2023

Explicitly say that the base C++ standard version is C++17, but the parallel API also implements algorithms & policies from C++20

@akukanov akukanov changed the title Clarify the version of the C++ standard which oneDPL spec is based on [oneDPL] Clarify the version of the C++ standard which the oneDPL spec is based on Sep 9, 2023
@akukanov akukanov changed the title [oneDPL] Clarify the version of the C++ standard which the oneDPL spec is based on [oneDPL] Clarify the version of the C++ standard for the oneDPL spec Sep 9, 2023
@@ -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.
Copy link
Contributor

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

Suggested change
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.

?

Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

@timmiesmith timmiesmith left a 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.
Copy link
Contributor

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.

@akukanov akukanov merged commit 81e8817 into uxlfoundation:main Sep 11, 2023
3 checks passed
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 this pull request may close these issues.

3 participants