|
|
@@ -64,6 +64,10 @@ inline bool VariantRef::set(ArrayRef array) const {
|
|
|
return to<ArrayRef>().copyFrom(array);
|
|
|
}
|
|
|
|
|
|
+inline bool VariantRef::set(ArrayConstRef array) const {
|
|
|
+ return to<ArrayRef>().copyFrom(array);
|
|
|
+}
|
|
|
+
|
|
|
inline bool VariantRef::set(const ArraySubscript& value) const {
|
|
|
return set(value.as<VariantRef>());
|
|
|
}
|
|
|
@@ -72,6 +76,10 @@ inline bool VariantRef::set(ObjectRef object) const {
|
|
|
return to<ObjectRef>().copyFrom(object);
|
|
|
}
|
|
|
|
|
|
+inline bool VariantRef::set(ObjectConstRef object) const {
|
|
|
+ return to<ObjectRef>().copyFrom(object);
|
|
|
+}
|
|
|
+
|
|
|
template <typename TString>
|
|
|
inline bool VariantRef::set(const ObjectSubscript<TString>& value) const {
|
|
|
return set(value.template as<VariantRef>());
|