[Bug c++/102229] 'decltype(auto)' cannot be cv-qualified
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 7 14:36:07 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102229
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marxin at gcc dot gnu.org
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
struct Test {
static constexpr decltype(auto) v = "test";
};
int main(int argc, char** argv) {
return 0;
}
More information about the Gcc-bugs
mailing list