tmp/tmp006nfxfd/{from.md → to.md}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
| 1 |
## Separate translation <a id="lex.separate">[[lex.separate]]</a>
|
| 2 |
|
| 3 |
The text of the program is kept in units called *source files* in this
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
|
| 10 |
[*Note 1*: A C++ program need not all be translated at the same
|
| 11 |
time. — *end note*]
|
| 12 |
|
| 13 |
[*Note 2*: Previously translated translation units and instantiation
|
| 14 |
units can be preserved individually or in libraries. The separate
|
| 15 |
-
translation units of a program communicate
|
| 16 |
-
example) calls to functions whose identifiers have external
|
| 17 |
-
manipulation of objects whose identifiers have external
|
| 18 |
-
manipulation of data files. Translation units can be
|
| 19 |
-
translated and then later linked to produce an executable
|
| 20 |
-
[[basic.link]]
|
| 21 |
|
|
|
|
| 1 |
## Separate translation <a id="lex.separate">[[lex.separate]]</a>
|
| 2 |
|
| 3 |
The text of the program is kept in units called *source files* in this
|
| 4 |
+
document. A source file together with all the headers [[headers]] and
|
| 5 |
+
source files included [[cpp.include]] via the preprocessing directive
|
| 6 |
+
`#include`, less any source lines skipped by any of the conditional
|
| 7 |
+
inclusion [[cpp.cond]] preprocessing directives, is called a
|
| 8 |
+
*translation unit*.
|
| 9 |
|
| 10 |
[*Note 1*: A C++ program need not all be translated at the same
|
| 11 |
time. — *end note*]
|
| 12 |
|
| 13 |
[*Note 2*: Previously translated translation units and instantiation
|
| 14 |
units can be preserved individually or in libraries. The separate
|
| 15 |
+
translation units of a program communicate [[basic.link]] by (for
|
| 16 |
+
example) calls to functions whose identifiers have external or module
|
| 17 |
+
linkage, manipulation of objects whose identifiers have external or
|
| 18 |
+
module linkage, or manipulation of data files. Translation units can be
|
| 19 |
+
separately translated and then later linked to produce an executable
|
| 20 |
+
program [[basic.link]]. — *end note*]
|
| 21 |
|