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:sliced sliced]
10 [[Pipe] [`rng | boost::adaptors::sliced(n, m)`]]
11 [[Function] [`boost::adaptors::slice(rng, n, m)`]]
14 * [*Precondition:] `0 <= n && n <= m && m < distance(rng)`
15 * [*Returns:] `make_range(rng, n, m)`
16 * [*Range Category:] __random_access_range__
17 * [*Range Return Type:] `boost::sliced_range<decltype(rng)>`
18 * [*Returned Range Category:] __random_access_range__
20 [section:sliced_example sliced example]
21 [import ../../../test/adaptor_test/sliced_example.cpp]
25 This would produce the output: