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