carb::variant_literals::operator""_v
Defined in carb/variant/VariantUtils.h
-
inline variant::Variant carb::variant_literals::operator""_v(const char *str, size_t length) noexcept
Literal cast operator for a string variant value.
- Parameters
str – [in] The string to be contained in the variant object.
length – [in] The length of the string to be contained in the variant object.
- Returns
The variant object containing the requested value.