Commit e2b98711 authored by Max Lyon's avatar Max Lyon

add documentation to count_if method

parent 227b1cd5
Pipeline #13761 passed with stages
in 157 minutes and 27 seconds
......@@ -353,6 +353,12 @@ struct SmartRangeT
/** @brief Compute number of elements that satisfy a given predicate.
* Computes the numer of elements which satisfy functor \p f.
* @param f Predicate that elements have to satisfy in order to be counted.
template <typename Functor>
auto count_if(Functor&& f) -> int
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment