Created nlohmann::basicjson::rend (markdown)
1 parent
74bd7b7e43
commit
979f265287
1 file changed
+32
@@ -0,0 +1,32 @@
|
||||
```cpp
|
||||
iterator rend();
|
||||
const_iterator rend() const;
|
||||
const_iterator crend() const;
|
||||
```
|
||||
|
||||
## Description
|
||||
|
||||
Returns a reverse iterator to the element following the last element of the reversed JSON container. It corresponds to the element preceding the first element of the non-reversed container. This element acts as a placeholder, attempting to access it results in undefined behavior.
|
||||
|
||||

|
||||
|
||||
## Parameters
|
||||
|
||||
None.
|
||||
|
||||
## Return value
|
||||
|
||||
Reverse iterator to the element following the last 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
|
||||
|
||||
- [**rbegin**, **crbegin**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::rbegin)<br>
|
||||
returns a reverse iterator to the beginning
|
||||
Reference in new issue
Block a user