From Jason Turner

[forward.list.syn]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp1pi6gf4x/{from.md → to.md} +34 -0
tmp/tmp1pi6gf4x/{from.md → to.md} RENAMED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### Header `<forward_list>` synopsis <a id="forward.list.syn">[[forward.list.syn]]</a>
2
+
3
+ ``` cpp
4
+ #include <compare> // see [compare.syn]
5
+ #include <initializer_list> // see [initializer.list.syn]
6
+
7
+ namespace std {
8
+ // [forwardlist], class template forward_list
9
+ template<class T, class Allocator = allocator<T>> class forward_list;
10
+
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
+ synth-three-way-result<T> operator<=>(const forward_list<T, Allocator>& x,
15
+ \itcorr const forward_list<T, Allocator>& y);
16
+
17
+ template<class T, class Allocator>
18
+ void swap(forward_list<T, Allocator>& x, forward_list<T, Allocator>& y)
19
+ noexcept(noexcept(x.swap(y)));
20
+
21
+ template<class T, class Allocator, class U>
22
+ typename forward_list<T, Allocator>::size_type
23
+ erase(forward_list<T, Allocator>& c, const U& value);
24
+ template<class T, class Allocator, class Predicate>
25
+ typename forward_list<T, Allocator>::size_type
26
+ erase_if(forward_list<T, Allocator>& c, Predicate pred);
27
+
28
+ namespace pmr {
29
+ template<class T>
30
+ using forward_list = std::forward_list<T, polymorphic_allocator<T>>;
31
+ }
32
+ }
33
+ ```
34
+