#include "shambase/exception.hpp"
#include "shambase/string.hpp"
#include <nlohmann/json.hpp>
#include <variant>
Go to the source code of this file.
|
| namespace | shamrock |
| | namespace for the main framework
|
| |
|
| template<class Functor , typename... Ts> |
| bool | shamrock::on_variant_match (const std::string &type_id, Functor &&callback, const std::variant< Ts... > &var) |
| |
| template<class Functor , typename... Ts> |
| void | shamrock::on_variant_cases (Functor &&callback, const std::variant< Ts... > &var) |
| |
| template<typename... Ts> |
| void | shamrock::json_deserialize_variant (const nlohmann::json &j, const std::string &type_id, std::variant< Ts... > &var) |
| |