Template Function ros2_control::get_item_iterator

Function Documentation

template<typename Container, typename T>
auto ros2_control::get_item_iterator(const Container &container, const T &item)

Get the iterator to the item in the container.

Note

Only std::vector, std::map and std::unordered_map are supported.

Parameters:
  • container – The container to search in.

  • item – The item to search for.

Returns:

Iterator to the item in the container.