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

Function back

extern/json/json.hpp:21618–21623  ·  view source on GitHub ↗

@brief access the last element @sa https://json.nlohmann.me/api/basic_json/back/

Source from the content-addressed store, hash-verified

21616 /// @brief access the last element
21617 /// @sa https://json.nlohmann.me/api/basic_json/back/
21618 reference back()
21619 {
21620 auto tmp = end();
21621 --tmp;
21622 return *tmp;
21623 }
21624
21625 /// @brief access the last element
21626 /// @sa https://json.nlohmann.me/api/basic_json/back/

Callers

nothing calls this directly

Calls 2

cendFunction · 0.85
endFunction · 0.70

Tested by

no test coverage detected