! @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 case of number, string, or boolean values, a reference to the value is returned. @compl
| 18127 | @since version 1.0.0 |
| 18128 | */ |
| 18129 | reference front() |
| 18130 | { |
| 18131 | return *begin(); |
| 18132 | } |
| 18133 | |
| 18134 | /*! |
| 18135 | @copydoc basic_json::front() |