summaryrefslogtreecommitdiff
path: root/boost/compute/algorithm/generate_n.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/compute/algorithm/generate_n.hpp')
-rw-r--r--boost/compute/algorithm/generate_n.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/boost/compute/algorithm/generate_n.hpp b/boost/compute/algorithm/generate_n.hpp
index 6d8e607b64..066a831ddf 100644
--- a/boost/compute/algorithm/generate_n.hpp
+++ b/boost/compute/algorithm/generate_n.hpp
@@ -20,6 +20,8 @@ namespace compute {
/// Stores the result of \p generator for each element in the range
/// [\p first, \p first + \p count).
+///
+/// Space complexity: \Omega(1)
template<class OutputIterator, class Size, class Generator>
inline void generate_n(OutputIterator first,
Size count,