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

Ensure our use cases work #27

Merged
merged 9 commits into from
May 28, 2024
Merged

Ensure our use cases work #27

merged 9 commits into from
May 28, 2024

Conversation

whaeck
Copy link
Member

@whaeck whaeck commented May 10, 2024

This adds a test that adds common view uses in ENDFtk and ACEtk to ensure that everything is functioning correctly.

By looking into the actual standard specs and cppreference, I have updated the code to ensure the use cases all pass correctly. This mainly included setting enable_borrowed_range correctly, and updating some sfinae in the new views from c++23.

@whaeck whaeck changed the title adding a use case test for views Ensure our use cases work May 14, 2024
@whaeck whaeck mentioned this pull request May 19, 2024
inline constexpr bool enable_borrowed_range<std23::ranges::stride_view<R>> = enable_borrowed_range<R>;

} // namespace ranges
} // namespace std23
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

namespace std23? matches to bracket std20

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's indeed a typo

joewpeterson
joewpeterson previously approved these changes May 23, 2024
Base automatically changed from feature/std23-stride to develop May 28, 2024 17:54
@whaeck whaeck dismissed joewpeterson’s stale review May 28, 2024 17:54

The base branch was changed.

@whaeck whaeck merged commit 0cee1b9 into develop May 28, 2024
8 checks passed
@whaeck whaeck deleted the feature/use-case branch May 28, 2024 17:55
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.

2 participants