tmp/tmp8d1heyq1/{from.md → to.md}
RENAMED
|
@@ -26,11 +26,14 @@ namespace std {
|
|
| 26 |
In this Clause, the type name `FILE` refers to the type `FILE` declared
|
| 27 |
in `<cstdio>`.
|
| 28 |
|
| 29 |
The header `<iostream>` declares objects that associate objects with the
|
| 30 |
standard C streams provided for by the functions declared in `<cstdio>`,
|
| 31 |
-
and includes all the headers necessary to use these objects.
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
The objects are constructed and the associations are established at some
|
| 34 |
time prior to or during the first time an object of class
|
| 35 |
`ios_base::Init` is constructed, and in any case before the body of
|
| 36 |
`main` [[basic.start.main]] begins execution. The objects are not
|
|
@@ -62,11 +65,11 @@ iostream object’s formatted and unformatted input [[istream]] and output
|
|
| 62 |
not result in a data race [[intro.multithread]].
|
| 63 |
|
| 64 |
[*Note 2*: Unsynchronized concurrent use of these objects and streams
|
| 65 |
by multiple threads can result in interleaved characters. — *end note*]
|
| 66 |
|
| 67 |
-
See also: ISO C 7.
|
| 68 |
|
| 69 |
### Narrow stream objects <a id="narrow.stream.objects">[[narrow.stream.objects]]</a>
|
| 70 |
|
| 71 |
``` cpp
|
| 72 |
istream cin;
|
|
|
|
| 26 |
In this Clause, the type name `FILE` refers to the type `FILE` declared
|
| 27 |
in `<cstdio>`.
|
| 28 |
|
| 29 |
The header `<iostream>` declares objects that associate objects with the
|
| 30 |
standard C streams provided for by the functions declared in `<cstdio>`,
|
| 31 |
+
and includes all the headers necessary to use these objects. The dynamic
|
| 32 |
+
types of the stream buffers initially associated with these objects are
|
| 33 |
+
unspecified, but they have the behavior specified for
|
| 34 |
+
`std::basic_filebuf<char>` or `std::basic_filebuf<wchar_t>`.
|
| 35 |
|
| 36 |
The objects are constructed and the associations are established at some
|
| 37 |
time prior to or during the first time an object of class
|
| 38 |
`ios_base::Init` is constructed, and in any case before the body of
|
| 39 |
`main` [[basic.start.main]] begins execution. The objects are not
|
|
|
|
| 65 |
not result in a data race [[intro.multithread]].
|
| 66 |
|
| 67 |
[*Note 2*: Unsynchronized concurrent use of these objects and streams
|
| 68 |
by multiple threads can result in interleaved characters. — *end note*]
|
| 69 |
|
| 70 |
+
See also: ISO C 7.23.2
|
| 71 |
|
| 72 |
### Narrow stream objects <a id="narrow.stream.objects">[[narrow.stream.objects]]</a>
|
| 73 |
|
| 74 |
``` cpp
|
| 75 |
istream cin;
|