mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 17:47:21 +02:00
13 lines
235 B
C++
13 lines
235 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
|