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

Probably range_value_t may be used here #2025

Open
SergeyKopienko opened this issue Jan 27, 2025 · 3 comments
Open

Probably range_value_t may be used here #2025

SergeyKopienko opened this issue Jan 27, 2025 · 3 comments

Comments

@SergeyKopienko
Copy link
Contributor

Probably range_value_t may be used here:

using __value_t = decltype(oneapi::dpl::__internal::get_value_type<_R>(0));

Please take a look to https://en.cppreference.com/w/cpp/ranges/range_size_t for details.

@MikeDvorskiy
Copy link
Contributor

I guess - no...
because std::ranges::range_value_t - C++20

@SergeyKopienko
Copy link
Contributor Author

So we can use it under some define?

@MikeDvorskiy
Copy link
Contributor

yes, under _ONEDPL_CPP20_RANGES_PRESENT probably...

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

No branches or pull requests

2 participants