I the long term, I think we'll end up having constraints attached to
declarations wherever we constrain auto (PARM_DECL, VAR_DECL, etc).
Although now that I'm looking, it seems that lang_decl_parm does not
inherit lang_min. Hmm...

Mostly, though, I'm not sure where I could put it where both
TEMPLATE_DECL and FUNCTION_DECL would have constraints.

On Sat, Jun 22, 2013 at 11:41 AM, Gabriel Dos Reis
<g...@integrable-solutions.net> wrote:
> On Sat, Jun 22, 2013 at 10:57 AM, Andrew Sutton
> <andrew.n.sut...@gmail.com> wrote:
>> I changed the implementation to associate constraints with template
>> decls (actually lang_decl_min) rather than template_info.
>
> Hmm, why move it to lang_decl_min?  Now, every C++ declaration will
> have a constraint, instead of just temploids?
>
> -- Gaby



-- 
Andrew Sutton
andrew.n.sut...@gmail.com

Reply via email to