-
-
Notifications
You must be signed in to change notification settings - Fork 389
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
Feature request: Implement equivalent for std::type_identity<T> in <etl/type_traits.h> #904
Labels
Comments
Do you want to do a Pull Request? |
Would I add it to |
Yes, and then run the generator script |
Alright, cool! I'm installing cogapp right now that's why it's taking some time. 😅 |
There we go: #905 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
std::type_identity
was added in C++20 as a way to escape type deduction in templated arguments. https://en.cppreference.com/w/cpp/types/type_identityManually implementing it like this seems to work, and although it's just a few lines, it'd be nice if it was built-in.
The text was updated successfully, but these errors were encountered: