[Bug c++/17743] dependent expressions in attributes
bkoz at redhat dot com
gcc-bugzilla@gcc.gnu.org
Tue Oct 19 06:23:00 GMT 2004
------- Additional Comments From bkoz at redhat dot com 2004-10-19 06:23 -------
Subject: Re: dependent expressions in attributes
>Yes, but how do you force the compiler to ensure that the alignment of char foo
>[] is sufficient to placement-allocate an object of type T into it?
...get __alignof__(T) working?
I don't see any other way, really.
-benjamin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17743
More information about the Gcc-bugs
mailing list