We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9c5cc0 commit e3a8e31Copy full SHA for e3a8e31
source/algorithms.tex
@@ -1297,7 +1297,7 @@
1297
constexpr typename iterator_traits<InputIterator>::difference_type
1298
count(InputIterator first, InputIterator last, const T& value);
1299
template<class ExecutionPolicy, class ForwardIterator,
1300
- class T = iterator_traits<InputIterator>::value_type>
+ class T = iterator_traits<ForwardIterator>::value_type>
1301
typename iterator_traits<ForwardIterator>::difference_type
1302
count(ExecutionPolicy&& exec, // freestanding-deleted, see \ref{algorithms.parallel.overloads}
1303
ForwardIterator first, ForwardIterator last, const T& value);
0 commit comments