From Jason Turner

[list.syn]

Diff to HTML by rtfpessoa

tmp/tmplctnwoxa/{from.md → to.md} RENAMED
@@ -7,25 +7,25 @@
7
  namespace std {
8
  // [list], class template list
9
  template<class T, class Allocator = allocator<T>> class list;
10
 
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
- synth-three-way-result<T> operator<=>(const list<T, Allocator>& x,
15
- \itcorr const list<T, Allocator>& y);
16
 
17
  template<class T, class Allocator>
18
- void swap(list<T, Allocator>& x, list<T, Allocator>& y)
19
  noexcept(noexcept(x.swap(y)));
20
 
21
  // [list.erasure], erasure
22
- template<class T, class Allocator, class U>
23
- typename list<T, Allocator>::size_type
24
  erase(list<T, Allocator>& c, const U& value);
25
  template<class T, class Allocator, class Predicate>
26
- typename list<T, Allocator>::size_type
27
  erase_if(list<T, Allocator>& c, Predicate pred);
28
 
29
  namespace pmr {
30
  template<class T>
31
  using list = std::list<T, polymorphic_allocator<T>>;
 
7
  namespace std {
8
  // [list], class template list
9
  template<class T, class Allocator = allocator<T>> class list;
10
 
11
  template<class T, class Allocator>
12
+ constexpr bool operator==(const list<T, Allocator>& x, const list<T, Allocator>& y);
13
  template<class T, class Allocator>
14
+ constexpr synth-three-way-result<T>
15
+ operator<=>(const list<T, Allocator>& x, const list<T, Allocator>& y);
16
 
17
  template<class T, class Allocator>
18
+ constexpr void swap(list<T, Allocator>& x, list<T, Allocator>& y)
19
  noexcept(noexcept(x.swap(y)));
20
 
21
  // [list.erasure], erasure
22
+ template<class T, class Allocator, class U = T>
23
+ constexpr typename list<T, Allocator>::size_type
24
  erase(list<T, Allocator>& c, const U& value);
25
  template<class T, class Allocator, class Predicate>
26
+ constexpr typename list<T, Allocator>::size_type
27
  erase_if(list<T, Allocator>& c, Predicate pred);
28
 
29
  namespace pmr {
30
  template<class T>
31
  using list = std::list<T, polymorphic_allocator<T>>;