------- Additional Comments From bkoz at redhat dot com 2004-10-18 05:23 -------
Subject: Re: dependent expressions in attributes
>Is this a showstopper for tr1 work?
Not that I can see. From what I can tell, tr1::array is going to require
default-constructable types.
I think the library hackers are interested in this kind of stuff for our
own selfish reasons.
I guess I don't see why/how alignof should be different than sizeof
here (which works):
template <class T>
struct A
{
char foo[sizeof(T)];
};
-benjamin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17743