mirror of
https://github.com/nlohmann/json.git
synced 2026-10-29 12:05:22 +00:00
deploy: a47170346a
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -6,6 +6,8 @@ const_iterator cbegin() const noexcept;
|
||||
|
||||
Returns an iterator to the first element.
|
||||
|
||||
`cbegin()` points to the first element, like `begin()`, and `end()` to the position after the last element; the dashed cell is the past-the-last position, which must not be dereferenced.
|
||||
|
||||
## Return value
|
||||
|
||||
iterator to the first element
|
||||
@@ -51,11 +53,11 @@ Output:
|
||||
|
||||
## See also
|
||||
|
||||
- [begin](https://json.nlohmann.me/api/basic_json/begin/index.md) returns an iterator to the first element
|
||||
- [cend](https://json.nlohmann.me/api/basic_json/cend/index.md) returns a const iterator to one past the last element
|
||||
- [crbegin](https://json.nlohmann.me/api/basic_json/crbegin/index.md) returns a const reverse iterator to the last element
|
||||
- [`begin`](https://json.nlohmann.me/api/basic_json/begin/index.md) - returns an iterator to the first element
|
||||
- [`cend`](https://json.nlohmann.me/api/basic_json/cend/index.md) - returns a const iterator to one past the last element
|
||||
- [`crbegin`](https://json.nlohmann.me/api/basic_json/crbegin/index.md) - returns a const reverse iterator to the last element
|
||||
- [Iterators](https://json.nlohmann.me/features/iterators/index.md) - the article on iterators
|
||||
- [basic_json_view::cbegin](https://json.nlohmann.me/api/basic_json_view/cbegin/index.md) - the same iteration on a zero-copy view
|
||||
- [`basic_json_view::cbegin`](https://json.nlohmann.me/api/basic_json_view/cbegin/index.md) - the same iteration on a zero-copy view
|
||||
|
||||
## Version history
|
||||
|
||||
|
||||
Reference in New Issue
Block a user