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++/17743] dependent expressions in attributes



------- Comment #24 from mark at codesourcery dot com  2005-10-05 22:34 -------
Subject: Re:  dependent expressions in attributes

rth at gcc dot gnu dot org wrote:
> ------- Comment #23 from rth at gcc dot gnu dot org  2005-10-05 21:16 -------
> I'm surprised this is considered tricky.  Seems to me you just stuff the 
> attribute away in the parse tree somewhere and pretend we've just read it
> in during template instantiation.  That's what we do with everything else
> related to templates after all.
> 
> "A mere matter of programming", I'd think.

I agree.  There may be some attributes which need to be processed at
parse-time, before instantiation-time, but that's just more programming.
   I'd expect it to involve touching rather more code than one would
like, though...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17743


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