[Bug c++/83130] Compilation error related to 'using', template instantiations and default constructors
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Aug 23 08:04:57 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83130
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 89381.
And even the same workaround applies:
using foo = Value<double>;
using workaround = decltype(foo{*static_cast<foo const*>(0)});
Before the definition of MyObj in this case.
*** This bug has been marked as a duplicate of bug 89381 ***
More information about the Gcc-bugs
mailing list