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

Implement ranges concepts #1364

Merged
merged 1 commit into from
Feb 13, 2024
Merged

Conversation

miscco
Copy link
Collaborator

@miscco miscco commented Feb 12, 2024

Fixes #1363

@miscco miscco requested review from a team as code owners February 12, 2024 09:35
@miscco miscco added feature request New feature or request. libcu++ For all items related to libcu++ labels Feb 12, 2024
_LIBCUDACXX_INLINE_VAR constexpr bool __is_std_initializer_list = false;

template <class _Ep>
_LIBCUDACXX_INLINE_VAR constexpr bool __is_std_initializer_list<initializer_list<_Ep>> = true;
Copy link
Collaborator

Choose a reason for hiding this comment

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

question: do we want std::initializer_list to be recognized as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Actually cuda::std::initializer_list is just an alias for ::std::initializer_list So we are already doing that

@miscco miscco merged commit 6e214ef into NVIDIA:main Feb 13, 2024
539 checks passed
@miscco miscco deleted the ranges_implement_concepts branch February 13, 2024 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request. libcu++ For all items related to libcu++
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Implement ranges concepts
2 participants