[Bug c++/58162] [C++11] bogus error: use of deleted function 'constexpr A::A(const A&)'
james.dennett at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Oct 3 05:15:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58162
James Dennett <james.dennett at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |james.dennett at gmail dot com
--- Comment #1 from James Dennett <james.dennett at gmail dot com> ---
Jason pointed out to me that cv_unqualified() is more appropriate than
TYPE_MAIN_VARIANT(), and I see that we might want to do the
if (!CLASS_TYPE_P (type) && cv_qualified_p (type))
type = cv_unqualified (type);
dance to avoid needless work for other types.
More information about the Gcc-bugs
mailing list