[Bug c++/108550] [10/11/12/13 Regression] the type 'const auto' of 'constexpr' variable is not literal
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 27 00:24:21 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108550
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |5.2.0
Target Milestone|--- |10.5
Summary|the type 'const auto' of |[10/11/12/13 Regression]
|'constexpr' variable is not |the type 'const auto' of
|literal |'constexpr' variable is not
| |literal
Known to fail| |5.3.0
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Also is_pointer_v needs to be an auto type. If you change it to bool things
start working.
More information about the Gcc-bugs
mailing list