...
The C++ Standard, [reserved.names] [ISO/IEC 14882-2014], specifies the following rules regarding reserved names:
...
In this noncompliant code example, because the C++ standard template library header <cinttypes>
is specified to include <cstdint>
, as per [c.files] paragraph 4 [ISO/IEC 14882-2014], the name MAX_SIZE
conflicts with the name of the <cstdint>
header macro used to denote the upper limit of std:size_t
:
...
Bibliography
[ISO/IEC 14882-2014] | Subclause 17.6.4.3, "Reserved Names" |
[ISO/IEC 9899:2011 ] | Subclause 7.1.3, "Reserved Identifiers" |
...