From Jason Turner

[flat.map.syn]

Diff to HTML by rtfpessoa

tmp/tmpwwej9ib2/{from.md → to.md} RENAMED
@@ -19,11 +19,11 @@ namespace std {
19
  Allocator>;
20
 
21
  // [flat.map.erasure], erasure for flat_map
22
  template<class Key, class T, class Compare, class KeyContainer, class MappedContainer,
23
  class Predicate>
24
- typename flat_map<Key, T, Compare, KeyContainer, MappedContainer>::size_type
25
  erase_if(flat_map<Key, T, Compare, KeyContainer, MappedContainer>& c, Predicate pred);
26
 
27
  // [flat.multimap], class template flat_multimap
28
  template<class Key, class T, class Compare = less<Key>,
29
  class KeyContainer = vector<Key>, class MappedContainer = vector<T>>
@@ -38,10 +38,10 @@ namespace std {
38
  Allocator>;
39
 
40
  // [flat.multimap.erasure], erasure for flat_multimap
41
  template<class Key, class T, class Compare, class KeyContainer, class MappedContainer,
42
  class Predicate>
43
- typename flat_multimap<Key, T, Compare, KeyContainer, MappedContainer>::size_type
44
  erase_if(flat_multimap<Key, T, Compare, KeyContainer, MappedContainer>& c, Predicate pred);
45
  }
46
  ```
47
 
 
19
  Allocator>;
20
 
21
  // [flat.map.erasure], erasure for flat_map
22
  template<class Key, class T, class Compare, class KeyContainer, class MappedContainer,
23
  class Predicate>
24
+ constexpr typename flat_map<Key, T, Compare, KeyContainer, MappedContainer>::size_type
25
  erase_if(flat_map<Key, T, Compare, KeyContainer, MappedContainer>& c, Predicate pred);
26
 
27
  // [flat.multimap], class template flat_multimap
28
  template<class Key, class T, class Compare = less<Key>,
29
  class KeyContainer = vector<Key>, class MappedContainer = vector<T>>
 
38
  Allocator>;
39
 
40
  // [flat.multimap.erasure], erasure for flat_multimap
41
  template<class Key, class T, class Compare, class KeyContainer, class MappedContainer,
42
  class Predicate>
43
+ constexpr typename flat_multimap<Key, T, Compare, KeyContainer, MappedContainer>::size_type
44
  erase_if(flat_multimap<Key, T, Compare, KeyContainer, MappedContainer>& c, Predicate pred);
45
  }
46
  ```
47