MacOS doesn't support std::visit when targing MacOS < 10.14 (currently we target 10.11). More...
#include <variant>Go to the source code of this file.
Namespaces | |
| utils | |
Functions | |
| template<typename... Types> | |
| std::size_t | utils::variant_index (const variant< Types... > &var) |
MacOS doesn't support std::visit when targing MacOS < 10.14 (currently we target 10.11).
This provides a wrapper around the STL variant API on all platforms except MacOS, which instead utilizes boost::variant.
Definition in file variant.hpp.