! @brief access the last element Returns a reference to the last element in the container. For a JSON container `c`, the expression `c.back()` is equivalent to @code {.cpp} auto tmp = c.end(); --tmp; return *tmp; @endcode @return In case of a structured type (array or object), a reference to the last element is retur
| 20446 | @since version 1.0.0 |
| 20447 | */ |
| 20448 | reference back() |
| 20449 | { |
| 20450 | auto tmp = end(); |
| 20451 | --tmp; |
| 20452 | return *tmp; |
| 20453 | } |
| 20454 | |
| 20455 | /*! |
| 20456 | @copydoc basic_json::back() |