Share

AcArray::append

C++

T & append();

Description

Return a reference to the new last element.

This function doesn't take a value argument, so the new element is assigned a default value, if any.

Allows clients to append an item and reference it in one statement, as in:

pFiler->readDouble(&mWidths.append());

Links

AcArray

Was this information helpful?