diff --git a/nlohmann::basicjson::rbegin.md b/nlohmann::basicjson::rbegin.md new file mode 100644 index 0000000..850a56a --- /dev/null +++ b/nlohmann::basicjson::rbegin.md @@ -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)
+ returns a reverse iterator to the end