www.digitalmars.com         C & C++   DMDScript  

c++ - Array declarators and cv qualifiers


typedef int A[5];
typedef const A CA;
// Error: type qualifiers and static can only appear in outermost
// array of function parameter

void main() {
CA ca;

This one has medium priority.

Sorry Gisle.. I did say I was "almost" convinced. 8.3.4-1 clearly shows that the
above is well formed.

Jan 11 2003