MCPcopy Create free account
hub / github.com/PeterFWS/Structure-PLP-SLAM / back

Function back

3rd/json/include/nlohmann/json.hpp:16327–16332  ·  view source on GitHub ↗

! @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 returned. In case of number, string, or boole

Source from the content-addressed store, hash-verified

16325 @since version 1.0.0
16326 */
16327 reference back()
16328 {
16329 auto tmp = end();
16330 --tmp;
16331 return *tmp;
16332 }
16333
16334 /*!
16335 @copydoc basic_json::back()

Callers

nothing calls this directly

Calls 2

cendFunction · 0.85
endFunction · 0.70

Tested by

no test coverage detected