From Jason Turner

[deque.erasure]

Diff to HTML by rtfpessoa

tmp/tmpvjhe6itt/{from.md → to.md} RENAMED
@@ -1,10 +1,10 @@
1
  #### Erasure <a id="deque.erasure">[[deque.erasure]]</a>
2
 
3
  ``` cpp
4
- template<class T, class Allocator, class U>
5
- typename deque<T, Allocator>::size_type
6
  erase(deque<T, Allocator>& c, const U& value);
7
  ```
8
 
9
  *Effects:* Equivalent to:
10
 
@@ -15,11 +15,11 @@ c.erase(it, c.end());
15
  return r;
16
  ```
17
 
18
  ``` cpp
19
  template<class T, class Allocator, class Predicate>
20
- typename deque<T, Allocator>::size_type
21
  erase_if(deque<T, Allocator>& c, Predicate pred);
22
  ```
23
 
24
  *Effects:* Equivalent to:
25
 
 
1
  #### Erasure <a id="deque.erasure">[[deque.erasure]]</a>
2
 
3
  ``` cpp
4
+ template<class T, class Allocator, class U = T>
5
+ constexpr typename deque<T, Allocator>::size_type
6
  erase(deque<T, Allocator>& c, const U& value);
7
  ```
8
 
9
  *Effects:* Equivalent to:
10
 
 
15
  return r;
16
  ```
17
 
18
  ``` cpp
19
  template<class T, class Allocator, class Predicate>
20
+ constexpr typename deque<T, Allocator>::size_type
21
  erase_if(deque<T, Allocator>& c, Predicate pred);
22
  ```
23
 
24
  *Effects:* Equivalent to:
25