Template Function ros2_control::add_items

Function Documentation

template<typename T>
void ros2_control::add_items(std::vector<T> &vector, const std::vector<T> &items)

Add the items from one container to the other, if they are not already in it.

Parameters:
  • vector – The container to add the items to.

  • items – The container to add the items from.