Generating variable-length argument lists

You can add a variable-length argument list as the last argument of an operation.

About this task

To add a variable-length argument list (...) as the last argument of an operation, open the Properties window for the operation, and set the CG::Operation::VariableLengthArgumentList property to Checked.

For example, if the VariableLengthArgumentList property is set to Checked for an operation void testA(int i), the following declaration generated for testA():

void testA(int i, ...);

Feedback