Template Function iox::cxx::set::unify

Function Documentation

template<typename Container>
Container &iox::cxx::set::unify(Container &set1, const Container &set2) noexcept

union of set1 and set2, set1 is the union after the operation and returned as result

Parameters:
  • set1[in] first set operand for union operation, also holds the union result after operation

  • set2[in] second set operand for union operation

Returns:

reference to the union of both sets stored in set1