This is the mail archive of the gcc-patches@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]

Re: [PATCH] PR c++/55663 - constexpr function templ instantiation considered non-const as alias templ arg


On 01/10/2013 11:11 AM, Gabriel Dos Reis wrote:
Hmm, is it necessary to coerce all levels as opposed to just the
innermost arguments?

No. But if you read the code, it's really only coercing the innermost level. Just the name is misleading.


If this approach looks acceptable, could I replace (part of) the
template argument coercing code in lookup_class_template_1 with the new
coerce_template_parms_all_level I introduced in this patch?

Yes.


Jason


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