Template Function iox::cxx::set::add
Defined in File set.hpp
Function Documentation
-
template<typename Container, typename Type = typename Container::value_type>
void iox::cxx::set::add(Container &container, const Type &entry) noexcept Adds entry to a container with set semantics. The entry type must provide operator==. If the entry already exists it is not added.
- Parameters:
container – [in] container to be added to
entry – [in] element to be added