MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / front

Method front

extern/json/json.hpp:3828–3831  ·  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 cast of number, string, or boolean values, a reference to the value is returned. @compl

Source from the content-addressed store, hash-verified

3826 @since version 1.0.0
3827 */
3828 reference front()
3829 {
3830 return *begin();
3831 }
3832
3833 /*!
3834 @copydoc basic_json::front()

Callers 6

bind_vectorFunction · 0.80
c_strFunction · 0.80
type_caster_base.hFile · 0.80
allocate_layoutMethod · 0.80
load_implMethod · 0.80
beginMethod · 0.80

Calls 1

beginFunction · 0.85

Tested by

no test coverage detected