mirror-chatterino2/src/util/Overloaded.hpp
2019-09-14 22:58:53 +02:00

14 lines
224 B
C++

#pragma once
namespace chatterino {
template <class... Ts>
struct Overloaded : Ts... {
using Ts::operator()...;
};
template <class... Ts>
Overloaded(Ts...)->Overloaded<Ts...>;
} // namespace chatterino