summaryrefslogtreecommitdiff
path: root/boost/compute/algorithm/copy_if.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/compute/algorithm/copy_if.hpp')
-rw-r--r--boost/compute/algorithm/copy_if.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/boost/compute/algorithm/copy_if.hpp b/boost/compute/algorithm/copy_if.hpp
index 3cd08ef293..bdedcb8536 100644
--- a/boost/compute/algorithm/copy_if.hpp
+++ b/boost/compute/algorithm/copy_if.hpp
@@ -38,6 +38,8 @@ inline OutputIterator copy_index_if(InputIterator first,
/// Copies each element in the range [\p first, \p last) for which
/// \p predicate returns \c true to the range beginning at \p result.
+///
+/// Space complexity: \Omega(2n)
template<class InputIterator, class OutputIterator, class Predicate>
inline OutputIterator copy_if(InputIterator first,
InputIterator last,