tmp/tmpg1m4ip1b/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### Header `<list>` synopsis <a id="list.syn">[[list.syn]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
#include <initializer_list>
|
| 5 |
+
|
| 6 |
+
namespace std {
|
| 7 |
+
// [list], class template list
|
| 8 |
+
template <class T, class Allocator = allocator<T>> class list;
|
| 9 |
+
template <class T, class Allocator>
|
| 10 |
+
bool operator==(const list<T, Allocator>& x, const list<T, Allocator>& y);
|
| 11 |
+
template <class T, class Allocator>
|
| 12 |
+
bool operator< (const list<T, Allocator>& x, const list<T, Allocator>& y);
|
| 13 |
+
template <class T, class Allocator>
|
| 14 |
+
bool operator!=(const list<T, Allocator>& x, const list<T, Allocator>& y);
|
| 15 |
+
template <class T, class Allocator>
|
| 16 |
+
bool operator> (const list<T, Allocator>& x, const list<T, Allocator>& y);
|
| 17 |
+
template <class T, class Allocator>
|
| 18 |
+
bool operator>=(const list<T, Allocator>& x, const list<T, Allocator>& y);
|
| 19 |
+
template <class T, class Allocator>
|
| 20 |
+
bool operator<=(const list<T, Allocator>& x, const list<T, Allocator>& y);
|
| 21 |
+
template <class T, class Allocator>
|
| 22 |
+
void swap(list<T, Allocator>& x, list<T, Allocator>& y)
|
| 23 |
+
noexcept(noexcept(x.swap(y)));
|
| 24 |
+
|
| 25 |
+
namespace pmr {
|
| 26 |
+
template <class T>
|
| 27 |
+
using list = std::list<T, polymorphic_allocator<T>>;
|
| 28 |
+
}
|
| 29 |
+
}
|
| 30 |
+
```
|
| 31 |
+
|