Commit cce116d8 authored by Max Lyon's avatar Max Lyon Committed by Patrick Schmidt

add documentation to count_if method

parent 6c392fd1
......@@ -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