Questionable g++ behaviour

Tom Tromey tromey at redhat.com
Wed Feb 1 02:53:06 UTC 2006


>>>>> "Arthur" == Arthur Pemberton <pemboa at gmail.com> writes:

Arthur> I have been informed that C++ does not allow for array
Arthur> declarations using varaibles as the size parameter:

Arthur> Yet g++ clearly allows this. Is this my misunderstanding?

It is a g++ extension.  See the node 'Variable Length' in the gcc
manual.

Tom




More information about the devel mailing list