Sorry if I´m a little bit off, but this implementation is from that "type-based" proposal ?
What about the "meta::info" proposal ? It is not going forward ?
anyway, I tried this but could not get the name of X inside a template function:
void foo(auto x) {
using r = reflexpr( decltype(x) );
std::cout << "Name of type template 'T':" << get_name_v<r> << std::endl;
};
struct X {} x;
foo(x);
Is it supposed to work ?
The implementation is still work-in-progress, not completely debugged and partially based on a PoC from 2019 where `auto`-typed regular function arguments were not implemented yet.
Eventually, this is supposed to work.
BR,
--Matus