20
Library introduction
[library]
20.5
Library-wide requirements
[requirements]
20.5.2
Using the library
[using]
20.5.2.3
Linkage
[using.linkage]
1
#
Entities in the C++ standard library have external linkage (
[basic.link]
)
.
Unless otherwise specified, objects and functions have the default
extern "C++"
linkage (
[dcl.link]
)
.
2
#
Whether a name from the C standard library declared with external linkage has
extern "C"
or
extern "C++"
linkage is
implementation-defined
.
It is recommended that an implementation use
extern "C++"
linkage for this purpose
.
174
3
#
Objects and functions defined in the library and required by a C++ program are included in the program prior to program startup
.
4
#
See also replacement functions (
[replacement.functions]
), runtime changes (
[handler.functions]
)
.
174)
The only reliable way to declare an object or function signature from the C standard library is by including the header that declares it, notwithstanding the latitude granted in 7
.
1
.
4 of the C Standard
.