MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / front

Function front

native/thirdpart/json/json.hpp:18129–18132  ·  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, or boolean values, a reference to the value is returned. @compl

Source from the content-addressed store, hash-verified

18127 @since version 1.0.0
18128 */
18129 reference front()
18130 {
18131 return *begin();
18132 }
18133
18134 /*!
18135 @copydoc basic_json::front()

Callers

nothing calls this directly

Calls 2

beginFunction · 0.70
cbeginFunction · 0.70

Tested by

no test coverage detected