Personally, I use the technique a lot for debugging template errors in the language.
template<typename T> struct TD;
Instantiate this as ‘TD<decltype(foo)>’ to get the full name of the type.
Rust’s does seem more concise.
Personally, I use the technique a lot for debugging template errors in the language.