From Jason Turner

[alg.find.first.of]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpj4bvusq6/{from.md → to.md} +12 -0
tmp/tmpj4bvusq6/{from.md → to.md} RENAMED
@@ -3,17 +3,29 @@
3
  ``` cpp
4
  template<class InputIterator, class ForwardIterator>
5
  InputIterator
6
  find_first_of(InputIterator first1, InputIterator last1,
7
  ForwardIterator first2, ForwardIterator last2);
 
 
 
 
 
8
 
9
  template<class InputIterator, class ForwardIterator,
10
  class BinaryPredicate>
11
  InputIterator
12
  find_first_of(InputIterator first1, InputIterator last1,
13
  ForwardIterator first2, ForwardIterator last2,
14
  BinaryPredicate pred);
 
 
 
 
 
 
 
15
  ```
16
 
17
  *Effects:* Finds an element that matches one of a set of values.
18
 
19
  *Returns:* The first iterator `i` in the range \[`first1`, `last1`) such
 
3
  ``` cpp
4
  template<class InputIterator, class ForwardIterator>
5
  InputIterator
6
  find_first_of(InputIterator first1, InputIterator last1,
7
  ForwardIterator first2, ForwardIterator last2);
8
+ template<class ExecutionPolicy, class ForwardIterator1, class ForwardIterator2>
9
+ ForwardIterator1
10
+ find_first_of(ExecutionPolicy&& exec,
11
+ ForwardIterator1 first1, ForwardIterator1 last1,
12
+ ForwardIterator2 first2, ForwardIterator2 last2);
13
 
14
  template<class InputIterator, class ForwardIterator,
15
  class BinaryPredicate>
16
  InputIterator
17
  find_first_of(InputIterator first1, InputIterator last1,
18
  ForwardIterator first2, ForwardIterator last2,
19
  BinaryPredicate pred);
20
+ template<class ExecutionPolicy, class ForwardIterator1, class ForwardIterator2,
21
+ class BinaryPredicate>
22
+ ForwardIterator1
23
+ find_first_of(ExecutionPolicy&& exec,
24
+ ForwardIterator1 first1, ForwardIterator1 last1,
25
+ ForwardIterator2 first2, ForwardIterator2 last2,
26
+ BinaryPredicate pred);
27
  ```
28
 
29
  *Effects:* Finds an element that matches one of a set of values.
30
 
31
  *Returns:* The first iterator `i` in the range \[`first1`, `last1`) such