C++ PATCH for c++/11094 (DR 408, handling of array of unknown bound in templates)

Jason Merrill jason@redhat.com
Wed Apr 7 15:52:00 GMT 2010


While I was working on drafting the resolution to issue 408, I 
implemented my proposed resolution as well.  The resolution is that an 
array static data member declared with unknown bound in the class body 
can have specializations and/or definitions with varying bounds, so 
anything that relies on the size of the array is dependent.

Tested x86_64-pc-linux-gnu, applied to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 11094.patch
Type: text/x-patch
Size: 8114 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100407/38faba3a/attachment.bin>


More information about the Gcc-patches mailing list