This library was adapted from cbeck88/strict-variant to compile to Arduino/ESP32 platform.
strict_variant targets the C++11 standard.
It is known to work with gcc >= 4.8 and clang >= 3.5, and is tested against MSVC 2015.
strict_variant can be used as-is in projects which require -fno-exceptions and -fno-rtti.
strict variant is available under the boost software license.