Created nlohmann::basicjson::rbegin (markdown)

Niels committed 2015-04-11 18:24:07 +02:00
1 parent 953234862a
commit 74bd7b7e43
1 file changed
+32
+32
@@ -0,0 +1,32 @@
```cpp
iterator rbegin();
const_iterator rbegin() const;
const_iterator crbegin() const;
```
## Description
Returns a reverse iterator to the first element of the reversed JSON container. It corresponds to the last element of the non-reversed container.
![illustration of reverse iterators](http://upload.cppreference.com/mwiki/images/3/39/range-rbegin-rend.svg)
## Parameters
None.
## Return value
Reverse iterator to the first element.
## Complexity
Constant, as long as `ArrayType` and `ObjectType` satisfy the [Container concept](http://en.cppreference.com/w/cpp/concept/Container).
## Exceptions
None. The function's noexcept-specification is `noexcept`.
## See also
- [**rend**, **crend**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::rend)<br>
returns a reverse iterator to the end