mirror of
https://github.com/BotChain-Robots/control.git
synced 2026-03-09 16:22:26 +01:00
14 lines
236 B
C++
14 lines
236 B
C++
|
|
#ifndef VARIANT_H
|
|
#define VARIANT_H
|
|
|
|
#include <variant> // NOLINT
|
|
|
|
template <class... Ts> struct overloaded : Ts... {
|
|
using Ts::operator()...;
|
|
};
|
|
|
|
template <class... Ts> overloaded(Ts...) -> overloaded<Ts...>;
|
|
|
|
#endif // VARIANT_H
|