Template Function ros2_control::remove_item
Defined in File helpers.hpp
Function Documentation
-
template<typename Container>
bool ros2_control::remove_item(Container &container, typename Container::const_reference item) Remove the item from the container if it is in it.
- Parameters:
container – The container to remove the item from.
item – The item to remove.
- Returns:
True if the item was removed, false otherwise. If the item was not in the container, it returns false.