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

Function front

3rd/json/include/nlohmann/json.hpp:16283–16286  ·  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

16281 @since version 1.0.0
16282 */
16283 reference front()
16284 {
16285 return *begin();
16286 }
16287
16288 /*!
16289 @copydoc basic_json::front()

Callers

nothing calls this directly

Calls 2

cbeginFunction · 0.85
beginFunction · 0.70

Tested by

no test coverage detected