This blog series will take you through the implementation of a type trait that can take in a callable and inspect the parameters of that callable. I will first describe how to do this using C++20 and then we can have a look at C++26 reflection.
This blog series will take you through the implementation of a type trait that can take in a callable and inspect the parameters of that callable. I will first describe how to do this using C++20 and then we can have a look at C++26 reflection.