1c5f01b2fSopenharmony_ci# <small>nlohmann::basic_json::</small>cend
2c5f01b2fSopenharmony_ci
3c5f01b2fSopenharmony_ci```cpp
4c5f01b2fSopenharmony_ciconst_iterator cend() const noexcept;
5c5f01b2fSopenharmony_ci```
6c5f01b2fSopenharmony_ci
7c5f01b2fSopenharmony_ciReturns an iterator to one past the last element.
8c5f01b2fSopenharmony_ci
9c5f01b2fSopenharmony_ci![Illustration from cppreference.com](../../images/range-begin-end.svg)
10c5f01b2fSopenharmony_ci
11c5f01b2fSopenharmony_ci## Return value
12c5f01b2fSopenharmony_ci
13c5f01b2fSopenharmony_ciiterator one past the last element
14c5f01b2fSopenharmony_ci
15c5f01b2fSopenharmony_ci## Exception safety
16c5f01b2fSopenharmony_ci
17c5f01b2fSopenharmony_ciNo-throw guarantee: this member function never throws exceptions.
18c5f01b2fSopenharmony_ci
19c5f01b2fSopenharmony_ci## Complexity
20c5f01b2fSopenharmony_ci
21c5f01b2fSopenharmony_ciConstant.
22c5f01b2fSopenharmony_ci
23c5f01b2fSopenharmony_ci## Examples
24c5f01b2fSopenharmony_ci
25c5f01b2fSopenharmony_ci??? example
26c5f01b2fSopenharmony_ci
27c5f01b2fSopenharmony_ci    The following code shows an example for `cend()`.
28c5f01b2fSopenharmony_ci    
29c5f01b2fSopenharmony_ci    ```cpp
30c5f01b2fSopenharmony_ci    --8<-- "examples/cend.cpp"
31c5f01b2fSopenharmony_ci    ```
32c5f01b2fSopenharmony_ci    
33c5f01b2fSopenharmony_ci    Output:
34c5f01b2fSopenharmony_ci    
35c5f01b2fSopenharmony_ci    ```json
36c5f01b2fSopenharmony_ci    --8<-- "examples/cend.output"
37c5f01b2fSopenharmony_ci    ```
38c5f01b2fSopenharmony_ci
39c5f01b2fSopenharmony_ci## Version history
40c5f01b2fSopenharmony_ci
41c5f01b2fSopenharmony_ci- Added in version 1.0.0.
42