[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Questionable g++ behaviour



>>>>> "Arthur" == Arthur Pemberton <pemboa 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]