From Jason Turner

[vector.syn]

Diff to HTML by rtfpessoa

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