How To Use void_t Alias Template in C++ 17?
January 25, 2024
In C++ 17, there is a very useful alias template for metaprogramming that can be used to simplify use of SFINAE. The void_tis a meta-function that is used to map any types ( or types) to typevoid. In this post, we explain what is void_t, how you can use it in different examples.
What is alias template void_t in C++ 17?
The void_t is an alias template which is introduced with…