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