15 #ifndef OPENSCENARIO_INTERPRETER__UTILITY__OVERLOAD_HPP_
16 #define OPENSCENARIO_INTERPRETER__UTILITY__OVERLOAD_HPP_
18 #include <type_traits>
23 inline namespace utility
25 template <
typename...>
36 template <
typename T,
typename U,
typename... Ts>
40 : T(
std::forward<decltype(x)>(x)),
50 template <
typename... Ts>
54 return {std::forward<decltype(xs)>(
xs)...};
constexpr auto overload(Ts &&... xs) -> typename utility::overloaded< typename std::decay< Ts >::type... >
Definition: overload.hpp:51
Definition: escape_sequence.hpp:22
Definition: junit5.hpp:25
overloaded(T &&x, U &&y, Ts &&... xs)
Definition: overload.hpp:39
Definition: overload.hpp:30
overloaded(T &&x)
Definition: overload.hpp:31
Definition: overload.hpp:26