MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / front

Function front

dependencies/json/json.hpp:20488–20491  ·  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 the value is returned.

Source from the content-addressed store, hash-verified

20486 @since version 1.0.0
20487 */
20488 reference front()
20489 {
20490 return *begin();
20491 }
20492
20493 /*!
20494 @copydoc basic_json::front()

Callers

nothing calls this directly

Calls 2

beginFunction · 0.70
cbeginFunction · 0.70

Tested by

no test coverage detected