tmp/tmpj9pq9iqf/{from.md → to.md}
RENAMED
|
@@ -1,15 +1,18 @@
|
|
| 1 |
## Initializer lists <a id="support.initlist">[[support.initlist]]</a>
|
| 2 |
|
|
|
|
|
|
|
| 3 |
The header `<initializer_list>` defines a class template and several
|
| 4 |
support functions related to list-initialization (see
|
| 5 |
-
[[dcl.init.list]]). All functions specified in
|
| 6 |
signal-safe [[support.signal]].
|
| 7 |
|
| 8 |
### Header `<initializer_list>` synopsis <a id="initializer.list.syn">[[initializer.list.syn]]</a>
|
| 9 |
|
| 10 |
``` cpp
|
|
|
|
| 11 |
namespace std {
|
| 12 |
template<class E> class initializer_list {
|
| 13 |
public:
|
| 14 |
using value_type = E;
|
| 15 |
using reference = const E&;
|
|
|
|
| 1 |
## Initializer lists <a id="support.initlist">[[support.initlist]]</a>
|
| 2 |
|
| 3 |
+
### General <a id="support.initlist.general">[[support.initlist.general]]</a>
|
| 4 |
+
|
| 5 |
The header `<initializer_list>` defines a class template and several
|
| 6 |
support functions related to list-initialization (see
|
| 7 |
+
[[dcl.init.list]]). All functions specified in [[support.initlist]] are
|
| 8 |
signal-safe [[support.signal]].
|
| 9 |
|
| 10 |
### Header `<initializer_list>` synopsis <a id="initializer.list.syn">[[initializer.list.syn]]</a>
|
| 11 |
|
| 12 |
``` cpp
|
| 13 |
+
// all freestanding
|
| 14 |
namespace std {
|
| 15 |
template<class E> class initializer_list {
|
| 16 |
public:
|
| 17 |
using value_type = E;
|
| 18 |
using reference = const E&;
|