summaryrefslogtreecommitdiff
path: root/boost/compute/algorithm/swap_ranges.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/compute/algorithm/swap_ranges.hpp')
-rw-r--r--boost/compute/algorithm/swap_ranges.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/boost/compute/algorithm/swap_ranges.hpp b/boost/compute/algorithm/swap_ranges.hpp
index 6ff3e14f6a..a706df7a61 100644
--- a/boost/compute/algorithm/swap_ranges.hpp
+++ b/boost/compute/algorithm/swap_ranges.hpp
@@ -21,6 +21,8 @@ namespace compute {
/// Swaps the elements in the range [\p first1, \p last1) with the
/// elements in the range beginning at \p first2.
+///
+/// Space complexity: \Omega(distance(\p first1, \p last1))
template<class Iterator1, class Iterator2>
inline Iterator2 swap_ranges(Iterator1 first1,
Iterator1 last1,