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 cend() const noexcept;
Returns an iterator to one past the last element.
`cend()` points to the position after the last element, like `end()`, and `begin()` to the first element; the dashed cell is the past-the-last position, which must not be dereferenced.
## Return value
iterator one past the last element
@@ -54,11 +56,11 @@ Output:
## See also
- [end](https://json.nlohmann.me/api/basic_json/end/index.md) returns an iterator to one past the last element
- [cbegin](https://json.nlohmann.me/api/basic_json/cbegin/index.md) returns a const iterator to the first element
- [crend](https://json.nlohmann.me/api/basic_json/crend/index.md) returns a const reverse iterator to one before the first element
- [`end`](https://json.nlohmann.me/api/basic_json/end/index.md) - returns an iterator to one past the last element
- [`cbegin`](https://json.nlohmann.me/api/basic_json/cbegin/index.md) - returns a const iterator to the first element
- [`crend`](https://json.nlohmann.me/api/basic_json/crend/index.md) - returns a const reverse iterator to one before the first element
- [Iterators](https://json.nlohmann.me/features/iterators/index.md) - the article on iterators
- [basic_json_view::cend](https://json.nlohmann.me/api/basic_json_view/cend/index.md) - the same iteration on a zero-copy view
- [`basic_json_view::cend`](https://json.nlohmann.me/api/basic_json_view/cend/index.md) - the same iteration on a zero-copy view
## Version history