! @brief access the first element Returns a reference to the first element in the container. For a JSON container `c`, the expression `c.front()` is equivalent to `*c.begin()`. @return In case of a structured type (array or object), a reference to the first element is returned. In cast of number, string, or boolean values, a reference to the value is returned. @compl
| 3826 | @since version 1.0.0 |
| 3827 | */ |
| 3828 | reference front() |
| 3829 | { |
| 3830 | return *begin(); |
| 3831 | } |
| 3832 | |
| 3833 | /*! |
| 3834 | @copydoc basic_json::front() |
no test coverage detected