MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / back

Function back

include/behaviortree_cpp/contrib/json.hpp:21710–21715  ·  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

21708 /// @brief access the last element
21709 /// @sa https://json.nlohmann.me/api/basic_json/back/
21710 reference back()
21711 {
21712 auto tmp = end();
21713 --tmp;
21714 return *tmp;
21715 }
21716
21717 /// @brief access the last element
21718 /// @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