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: [c++-concepts] Class template constraints


Ok to commit? Attached is the doc fix patch. I'll send the TREE_TYPE
patch shortly.

Andrew
Andrew Sutton


On Sat, Sep 7, 2013 at 1:00 PM, Jason Merrill <jason@redhat.com> wrote:
> On 09/06/2013 12:03 PM, Andrew Sutton wrote:
>>
>> +// Returns the template type of the class scope being entered. If we're
>> +// entering a constrained class scope. TMPL is the most general template
>> +// of the scope being entered, and TYPE is its type.
>
>
> TMPL is not part of the interface of fixup_template_type, so it should be
> documented when it is declared rather than before the function.
>
> OK with that tweak.
>
>> +  tree cur_constr = TREE_TYPE (parms);
>
>
> In a separate patch, I'd like to use a different macro name for getting
> constraints from template parms.
>
> Jason
>

Attachment: templates-2.patch
Description: Binary data


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