This commit is contained in:
nlohmann committed 2026-10-27 12:14:00 +00:00
1 parent b36f8a9821
commit 11a863958e
1180 files changed
+14211 -6025

No files matched your search

+6 -4
View File
@@ -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