Template Function iox::cxx::swap

Function Documentation

template<typename S, typename T>
static void iox::cxx::swap(storable_function<S, T> &f, storable_function<S, T> &g) noexcept

swap two storable functions

Parameters:
  • f – the first function to swap with g

  • g – the second function to swap with f