fof typestd::variant<std::int32_t, std::string, std::vector<std::int32_t>>Vectorof typestd::vector<std::variant<std::int32_t, std::string>
std::int32_twith value1std::stringwith value"abc"std::vectorwith values{1, 2, 3}- Empty
std::string - Empty
std::vector
The values can be found in the reference file types.variant.json.
Missing:
A std::variant that is valueless_by_exception.
This requires a type that throws during move assignment.