MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / operator+=

Function operator+=

include/behaviortree_cpp/contrib/json.hpp:22415–22419  ·  view source on GitHub ↗

@brief add an object to an array @sa https://json.nlohmann.me/api/basic_json/operator+=/

Source from the content-addressed store, hash-verified

22413 /// @brief add an object to an array
22414 /// @sa https://json.nlohmann.me/api/basic_json/operator+=/
22415 reference operator+=(basic_json&& val)
22416 {
22417 push_back(std::move(val));
22418 return *this;
22419 }
22420
22421 /// @brief add an object to an array
22422 /// @sa https://json.nlohmann.me/api/basic_json/push_back/

Callers 1

Calls 2

push_backFunction · 0.85
moveFunction · 0.85

Tested by

no test coverage detected