mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-18 01:52:05 -05:00
31 lines
835 B
Plaintext
31 lines
835 B
Plaintext
|
[/
|
||
|
Copyright 2010 Neil Groves
|
||
|
Distributed under the Boost Software License, Version 1.0.
|
||
|
(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||
|
/]
|
||
|
[section:reversed reversed]
|
||
|
|
||
|
[table
|
||
|
[[Syntax] [Code]]
|
||
|
[[Pipe] [`rng | boost::adaptors::reversed`]]
|
||
|
[[Function] [`boost::adaptors::reverse(rng)`]]
|
||
|
]
|
||
|
|
||
|
* [*Returns:] A range whose iterators behave as if they were the original iterators wrapped in `reverse_iterator`.
|
||
|
* [*Range Category:] __bidirectional_range__
|
||
|
* [*Range Return Type:] `boost::reversed_range<decltype(rng)>`
|
||
|
* [*Returned Range Category:] The range category of `rng`.
|
||
|
|
||
|
[section:reversed_example reversed example]
|
||
|
[import ../../../test/adaptor_test/reversed_example.cpp]
|
||
|
[reversed_example]
|
||
|
[endsect]
|
||
|
|
||
|
This would produce the output:
|
||
|
``
|
||
|
9,8,7,6,5,4,3,2,1,
|
||
|
``
|
||
|
[endsect]
|
||
|
|
||
|
|