tmp/tmp94y7cc2n/{from.md → to.md}
RENAMED
|
@@ -12,12 +12,12 @@ headers shown in [[headers.cpp.c]]. [^15]
|
|
| 12 |
The headers listed in [[headers.cpp]], or, for a freestanding
|
| 13 |
implementation, the subset of such headers that are provided by the
|
| 14 |
implementation, are collectively known as the
|
| 15 |
*importable C++ library headers*.
|
| 16 |
|
| 17 |
-
[*Note 1*: Importable C++ library headers can be imported
|
| 18 |
-
|
| 19 |
|
| 20 |
[*Example 1*:
|
| 21 |
|
| 22 |
``` cpp
|
| 23 |
import <vector>; // imports the <vector> header unit
|
|
@@ -49,12 +49,12 @@ Names that are defined as functions in C shall be defined as functions
|
|
| 49 |
in the C++ standard library.[^16]
|
| 50 |
|
| 51 |
Identifiers that are keywords or operators in C++ shall not be defined
|
| 52 |
as macros in C++ standard library headers.[^17]
|
| 53 |
|
| 54 |
-
[[
|
| 55 |
-
using the `name.h` (C header) form in a C++ program.[^18]
|
| 56 |
|
| 57 |
Annex K of the C standard describes a large number of functions, with
|
| 58 |
associated types and macros, which “promote safer, more secure
|
| 59 |
programming” than many of the traditional C library functions. The names
|
| 60 |
of the functions have a suffix of `_s`; most of them provide the same
|
|
|
|
| 12 |
The headers listed in [[headers.cpp]], or, for a freestanding
|
| 13 |
implementation, the subset of such headers that are provided by the
|
| 14 |
implementation, are collectively known as the
|
| 15 |
*importable C++ library headers*.
|
| 16 |
|
| 17 |
+
[*Note 1*: Importable C++ library headers can be imported
|
| 18 |
+
[[module.import]]. — *end note*]
|
| 19 |
|
| 20 |
[*Example 1*:
|
| 21 |
|
| 22 |
``` cpp
|
| 23 |
import <vector>; // imports the <vector> header unit
|
|
|
|
| 49 |
in the C++ standard library.[^16]
|
| 50 |
|
| 51 |
Identifiers that are keywords or operators in C++ shall not be defined
|
| 52 |
as macros in C++ standard library headers.[^17]
|
| 53 |
|
| 54 |
+
[[support.c.headers]], C standard library headers, describes the effects
|
| 55 |
+
of using the `name.h` (C header) form in a C++ program.[^18]
|
| 56 |
|
| 57 |
Annex K of the C standard describes a large number of functions, with
|
| 58 |
associated types and macros, which “promote safer, more secure
|
| 59 |
programming” than many of the traditional C library functions. The names
|
| 60 |
of the functions have a suffix of `_s`; most of them provide the same
|