This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/58162] [C++11] bogus error: use of deleted function 'constexpr A::A(const A&)'


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]