Created nlohmann::basicjson::rbegin (markdown)
1 parent
953234862a
commit
74bd7b7e43
1 file changed
+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.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## 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
|
||||||
Reference in new issue
Block a user