nlohmann::basic_json::rend - renxiaobo27/json GitHub Wiki
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.
Exceptions
None. The function's noexcept-specification is noexcept.
See also
- rbegin, crbegin returns a reverse iterator to the beginning