Add more improvements to Variant and conversions with managed data
This commit is contained in:
@@ -502,6 +502,16 @@ Variant::Variant(decltype(nullptr))
|
||||
{
|
||||
}
|
||||
|
||||
Variant::Variant(const VariantType& type)
|
||||
: Type(type)
|
||||
{
|
||||
}
|
||||
|
||||
Variant::Variant(VariantType&& type)
|
||||
: Type(MoveTemp(type))
|
||||
{
|
||||
}
|
||||
|
||||
Variant::Variant(bool v)
|
||||
: Type(VariantType::Bool)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user