summaryrefslogtreecommitdiff
path: root/boost/compute/algorithm/rotate.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/compute/algorithm/rotate.hpp')
-rw-r--r--boost/compute/algorithm/rotate.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/boost/compute/algorithm/rotate.hpp b/boost/compute/algorithm/rotate.hpp
index 54cb073cc2..715699340d 100644
--- a/boost/compute/algorithm/rotate.hpp
+++ b/boost/compute/algorithm/rotate.hpp
@@ -21,6 +21,8 @@ namespace compute {
/// Performs left rotation such that element at \p n_first comes to the
/// beginning.
///
+/// Space complexity: \Omega(distance(\p first, \p last))
+///
/// \see rotate_copy()
template<class InputIterator>
inline void rotate(InputIterator first,