anotherim-desktop/plugins/windows-notification/api/include/overload.hpp
2021-06-09 07:19:50 -03:00

11 lines
213 B
C++

#ifndef OVERLOAD_HPP
#define OVERLOAD_HPP
template<typename... Callable>
struct overload : Callable...
{
overload(Callable &&... c) : Callable{std::move(c)}... {}
using Callable::operator()...;
};
#endif