rsl  1.1.0
ROS Support Library
overload.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 namespace rsl {
4 
12 template <typename... Ts>
13 struct Overload : Ts... {
14  using Ts::operator()...;
15 };
16 
17 template <class... Ts>
18 Overload(Ts...) -> Overload<Ts...>;
19 
20 } // namespace rsl
Class template for creating overloads sets to use with std::visit.
Definition: overload.hpp:13