[Bug c++/66281] [C++14][Variable templates] internal compiler error: in tsubst, at cp/pt.c:12022
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jun 14 17:27:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66281
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |trippels at gcc dot gnu.org
--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Here is a variant:
template <int> int bool_;
template <char n> auto digit(bool_<n>);
template <char, int, int y> auto evaluate(digit<y>);
auto boost_hana_tmp_40 = evaluate<'1', '+', '2'>;
More information about the Gcc-bugs
mailing list