1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
### jsoncons::range
```cpp
#include <jsoncons/basic_json.hpp>
template <typename IteratorT,typename ConstIteratorT>
class range;
```
Member type |Definition
------------------------------------|------------------------------
`iterator`|`IteratorT`
`const_iterator`|`ConstIteratorT`
`reverse_iterator`|`std::reverse_iterator<IteratorT>`
`const_reverse_iterator`|`std::reverse_iterator<ConstIteratorT>`
### Range access
iterator begin(); (until 0.173.3)
iterator begin() const noexcept; (since 0.173.3)
const_iterator cbegin(); (until 0.173.3)
const_iterator cbegin() const noexcept; (since 0.173.3)
Returns an iterator to the beginning
iterator end(); (until 0.173.3)
iterator end() const noexcept; (since 0.173.3)
const_iterator cend(); (until 0.173.3)
const_iterator cend() const noexcept; (since 0.173.3)
Returns an iterator to the end
reverse_iterator rbegin(); (until 0.173.3)
reverse_iterator rbegin() const noexcept; (since 0.173.3)
const_reverse_iterator crbegin(); (until 0.173.3)
const_reverse_iterator crbegin() const noexcept; (since 0.173.3)
Returns a reverse iterator to the beginning
reverse_iterator rend(); (until 0.173.3)
reverse_iterator rend() const noexcept; (since 0.173.3)
const_reverse_iterator crend(); (until 0.173.3)
const_reverse_iterator crend() const noexcept; (since 0.173.3)
Returns a reverse iterator to the end
|