https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124457
Ville Voutilainen <ville.voutilainen at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ville.voutilainen at gmail dot
com
--- Comment #1 from Ville Voutilainen <ville.voutilainen at gmail dot com> ---
Fwiw, I tried similar-ish uses of reflecting a dependent cNTTP, and these all
worked fine:
template <class T, auto t = ^^T>
constexpr auto oink = t;
constexpr auto x = sizeof(oink<int>);
template <class T, auto t = ^^T>
constexpr auto f() {return sizeof(t);}
constexpr auto y = f<int>();