Closed tigran2008 closed 2 weeks ago
Do you want to do a Pull Request?
Would I add it to etl/generators/type_traits_generator.h
?
Yes, and then run the generator script generate_type_traits.bat
Alright, cool! I'm installing cogapp right now that's why it's taking some time. 😅
There we go: https://github.com/ETLCPP/etl/pull/905
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.