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

Method back

extern/json/json.hpp:3871–3876  ·  view source on GitHub ↗

! @brief access the last element Returns a reference to the last element in the container. For a JSON container `c`, the expression `c.back()` is equivalent to @code {.cpp} auto tmp = c.end(); --tmp; return *tmp; @endcode @return In case of a structured type (array or object), a reference to the last element is returned. In cast of number, string, or boole

Source from the content-addressed store, hash-verified

3869 @since version 1.0.0
3870 */
3871 reference back()
3872 {
3873 auto tmp = end();
3874 --tmp;
3875 return *tmp;
3876 }
3877
3878 /*!
3879 @copydoc basic_json::back()

Callers 15

vector_pointer_modifiersFunction · 0.80
initConstraintMethod · 0.80
readRigidBodiesMethod · 0.80
readTriangleModelsMethod · 0.80
readTetModelsMethod · 0.80
parseNextMethod · 0.80
readNextMethod · 0.80
readNextBigEndianMethod · 0.80
parseHeaderMethod · 0.80

Calls 1

endFunction · 0.85

Tested by

no test coverage detected