MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / front

Function front

Source/Utils/json.hpp:20404–20407  ·  view source on GitHub ↗

! @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 th

Source from the content-addressed store, hash-verified

20402 @since version 1.0.0
20403 */
20404 reference front()
20405 {
20406 return *begin();
20407 }
20408
20409 /*!
20410 @copydoc basic_json::front()

Callers

nothing calls this directly

Calls 2

cbeginFunction · 0.85
beginFunction · 0.70

Tested by

no test coverage detected