2 Copyright 2010 Neil Groves
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 [section:copied copied]
10 [[Pipe] [`rng | boost::adaptors::copied(n, m)`]]
11 [[Function] [`boost::adaptors::copy(rng, n, m)`]]
14 * [*Precondition:] `0 <= n && n <= m && m < distance(rng)`
15 * [*Returns:] A new `iterator_range` that holds the sliced range `[n,m)` of the original range.
16 * [*Range Category:] __random_access_range__
17 * [*Returned Range Category:] __random_access_range__
19 [section:copied_example copied example]
20 [import ../../../test/adaptor_test/copied_example.cpp]
24 This would produce the output: