tmp/tmpaij2xqi7/{from.md → to.md}
RENAMED
|
@@ -9,17 +9,17 @@ namespace std {
|
|
| 9 |
id(const id&) = delete;
|
| 10 |
};
|
| 11 |
}
|
| 12 |
```
|
| 13 |
|
| 14 |
-
The class locale::id provides identification of a locale facet
|
| 15 |
interface, used as an index for lookup and to encapsulate
|
| 16 |
initialization.
|
| 17 |
|
| 18 |
-
Because facets are used by iostreams, potentially while
|
| 19 |
-
constructors are running, their initialization cannot depend on
|
| 20 |
programmed static initialization. One initialization strategy is for
|
| 21 |
`locale` to initialize each facet’s `id` member the first time an
|
| 22 |
instance of the facet is installed into a locale. This depends only on
|
| 23 |
static storage being zero before constructors run (
|
| 24 |
-
[[basic.start.
|
| 25 |
|
|
|
|
| 9 |
id(const id&) = delete;
|
| 10 |
};
|
| 11 |
}
|
| 12 |
```
|
| 13 |
|
| 14 |
+
The class `locale::id` provides identification of a locale facet
|
| 15 |
interface, used as an index for lookup and to encapsulate
|
| 16 |
initialization.
|
| 17 |
|
| 18 |
+
[*Note 1*: Because facets are used by iostreams, potentially while
|
| 19 |
+
static constructors are running, their initialization cannot depend on
|
| 20 |
programmed static initialization. One initialization strategy is for
|
| 21 |
`locale` to initialize each facet’s `id` member the first time an
|
| 22 |
instance of the facet is installed into a locale. This depends only on
|
| 23 |
static storage being zero before constructors run (
|
| 24 |
+
[[basic.start.static]]). — *end note*]
|
| 25 |
|