c++/3433
Paul Burchard
burchard@pobox.com
Thu Jun 28 17:46:00 GMT 2001
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3433&database=gcc
Actually, the tree-check failure in my bug report c++/3433 appears to be
due to the array size expression (1), not the the array initializer.
The error does not occur if the size is left implicit, as in:
template<unsigned int Dimension>
struct tensor1 {
static const unsigned int dimension[] = { Dimension };
};
PB
More information about the Gcc-bugs
mailing list