summaryrefslogtreecommitdiff
path: root/boost/compute/algorithm/find_if.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/compute/algorithm/find_if.hpp')
-rw-r--r--boost/compute/algorithm/find_if.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/boost/compute/algorithm/find_if.hpp b/boost/compute/algorithm/find_if.hpp
index db99cc0396..074b47e280 100644
--- a/boost/compute/algorithm/find_if.hpp
+++ b/boost/compute/algorithm/find_if.hpp
@@ -20,6 +20,8 @@ namespace compute {
/// Returns an iterator pointing to the first element in the range
/// [\p first, \p last) for which \p predicate returns \c true.
+///
+/// Space complexity: \Omega(1)
template<class InputIterator, class UnaryPredicate>
inline InputIterator find_if(InputIterator first,
InputIterator last,