6.10.3.1 Argument substitution

Previous Table of Contents

1925 After the arguments for the invocation of a function-like macro have been identified, argument substitution takes place.

1926 A parameter in the replacement list, unless preceded by a # or ## preprocessing token or followed by a ## preprocessing token (see below), is replaced by the corresponding argument after all macros contained therein have been expanded.

1927 Before being substituted, each argument's preprocessing tokens are completely macro replaced as if they formed the rest of the preprocessing file;

1928 no other preprocessing tokens are available.

1929 An identifier __VA_ARGS__ that occurs in the replacement list shall be treated as if it were a parameter, and the variable arguments shall form the preprocessing tokens used to replace it.

Next

Created at: 2005-06-29 02:19:04 The text from WG14/N1124 is copyright © ISO