! @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, boolean, or binary values, a reference to the value is returned.
| 21614 | @since version 1.0.0 |
| 21615 | */ |
| 21616 | reference front() |
| 21617 | { |
| 21618 | return *begin(); |
| 21619 | } |
| 21620 | |
| 21621 | /*! |
| 21622 | @copydoc basic_json::front() |