[c++-concepts] Class template constraints

Andrew Sutton andrew.n.sutton@gmail.com
Mon Sep 9 12:35:00 GMT 2013


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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: templates-2.patch
Type: application/octet-stream
Size: 23937 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130909/7c2f9d4c/attachment.obj>


More information about the Gcc-patches mailing list