1[/
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)
5/]
6[section:reversed reversed]
7
8[table
9    [[Syntax] [Code]]
10    [[Pipe] [`rng | boost::adaptors::reversed`]]
11    [[Function] [`boost::adaptors::reverse(rng)`]]
12]
13
14* [*Returns:] A range whose iterators behave as if they were the original iterators wrapped in `reverse_iterator`.
15* [*Range Category:] __bidirectional_range__
16* [*Range Return Type:] `boost::reversed_range<decltype(rng)>`
17* [*Returned Range Category:] The range category of `rng`.
18
19[section:reversed_example reversed example]
20[import ../../../test/adaptor_test/reversed_example.cpp]
21[reversed_example]
22[endsect]
23
24This would produce the output:
25``
269,8,7,6,5,4,3,2,1,
27``
28[endsect]
29
30
31