MCPcopy Create free account
hub / github.com/Mixaill/FakePDB / back

Function back

src_cpp/include/nlohmann/json.hpp:20449–20454  ·  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, boolean,

Source from the content-addressed store, hash-verified

20447 @since version 1.0.0
20448 */
20449 reference back()
20450 {
20451 auto tmp = end();
20452 --tmp;
20453 return *tmp;
20454 }
20455
20456 /*!
20457 @copydoc basic_json::back()

Callers

nothing calls this directly

Calls 2

endFunction · 0.85
cendFunction · 0.85

Tested by

no test coverage detected