tmp/tmpzpes_5v_/{from.md → to.md}
RENAMED
|
@@ -15,13 +15,13 @@ appropriate `#include` preprocessing directive ([[cpp.include]]).
|
|
| 15 |
|
| 16 |
A translation unit may include library headers in any order (Clause
|
| 17 |
[[lex]]). Each may be included more than once, with no effect different
|
| 18 |
from being included exactly once, except that the effect of including
|
| 19 |
either `<cassert>` or `<assert.h>` depends each time on the lexically
|
| 20 |
-
current definition of `NDEBUG`.[^
|
| 21 |
|
| 22 |
-
A translation unit shall include a header only outside of any
|
| 23 |
declaration or definition, and shall include the header lexically before
|
| 24 |
the first reference in that translation unit to any of the entities
|
| 25 |
declared in that header. No diagnostic is required.
|
| 26 |
|
| 27 |
#### Linkage <a id="using.linkage">[[using.linkage]]</a>
|
|
@@ -31,13 +31,13 @@ Entities in the C++standard library have external linkage (
|
|
| 31 |
the default `extern "C++"` linkage ([[dcl.link]]).
|
| 32 |
|
| 33 |
Whether a name from the C standard library declared with external
|
| 34 |
linkage has `extern "C"` or `extern "C++"` linkage is
|
| 35 |
*implementation-defined*. It is recommended that an implementation use
|
| 36 |
-
`extern "C++"` linkage for this purpose.[^
|
| 37 |
|
| 38 |
Objects and functions defined in the library and required by a
|
| 39 |
C++program are included in the program prior to program startup.
|
| 40 |
|
| 41 |
-
replacement functions ([[replacement.functions]]),
|
| 42 |
-
[[handler.functions]]).
|
| 43 |
|
|
|
|
| 15 |
|
| 16 |
A translation unit may include library headers in any order (Clause
|
| 17 |
[[lex]]). Each may be included more than once, with no effect different
|
| 18 |
from being included exactly once, except that the effect of including
|
| 19 |
either `<cassert>` or `<assert.h>` depends each time on the lexically
|
| 20 |
+
current definition of `NDEBUG`.[^19]
|
| 21 |
|
| 22 |
+
A translation unit shall include a header only outside of any
|
| 23 |
declaration or definition, and shall include the header lexically before
|
| 24 |
the first reference in that translation unit to any of the entities
|
| 25 |
declared in that header. No diagnostic is required.
|
| 26 |
|
| 27 |
#### Linkage <a id="using.linkage">[[using.linkage]]</a>
|
|
|
|
| 31 |
the default `extern "C++"` linkage ([[dcl.link]]).
|
| 32 |
|
| 33 |
Whether a name from the C standard library declared with external
|
| 34 |
linkage has `extern "C"` or `extern "C++"` linkage is
|
| 35 |
*implementation-defined*. It is recommended that an implementation use
|
| 36 |
+
`extern "C++"` linkage for this purpose.[^20]
|
| 37 |
|
| 38 |
Objects and functions defined in the library and required by a
|
| 39 |
C++program are included in the program prior to program startup.
|
| 40 |
|
| 41 |
+
See also replacement functions ([[replacement.functions]]), runtime
|
| 42 |
+
changes ([[handler.functions]]).
|
| 43 |
|