ISO/IEC 9,899:2011 clause 6.10.3--macro replacement

Source: Internet
Author: User

6.10.3 macro Substitution

Constraints

1, two alternate lists are the same, and all whitespace separators here are considered identical if and only if the preprocessing characters in the two substitution list have the same number, order, spelling, and whitespace delimiter.

2. The identifier of a macro that is currently defined as a similar object should not be redefined by another #define preprocessing indicator, unless the second definition is a macro definition of a similar object, and the two replacement lists are identical. Similarly, the identifier of a macro currently defined as a function should not be redefined with another #define preprocessing indicator, unless the second definition is a macro definition of a similar function with the same number of formal parameters and spellings, and two replacement lists are identical.

3. In a macro definition of a similar object, there should be a white space between the identifier and the replacement list.

ISO/IEC 9,899:2011 clause 6.10.3--macro replacement

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.