Template Function ros2_control::is_unique
Defined in File helpers.hpp
Function Documentation
-
template<typename Container>
bool ros2_control::is_unique(Container container) Check if the container has all unique items.
Note
The container must be sortable.
Note
The container must have the begin() and end() methods.
- Parameters:
container – The container to search in.
- Returns:
True if the container has all unique items, false otherwise.