P
pete
Flash Gordon wrote:
Since one header may #include another,
it might not be possible to tell which headers have been #included,
just by looking at the source.
In n1124, section 7.13, it also says:
— All identifiers with external linkage in any of the following
subclauses (including the future library directions) are always
reserved for use as identifiers with external linkage.157)
So you can never use the names for functions unless you don't include
the relevant header *and* you declare the function as static.
Since one header may #include another,
it might not be possible to tell which headers have been #included,
just by looking at the source.