[Bug c++/17743] dependent expressions in attributes
mark at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Wed Oct 5 22:34:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list