cppexpose
cppexpose copied to clipboard
Variant array naming confusion
Variant::isArray()
and Variant::asArray()
mean different things by 'Array' (array by means of the typed-library vs. VariantArray
aka std::vector<Variant>
). isVariantArray
is the actual type query function corresponding to asArray
, so asArray
should probably be renamed asVariantArray
. Same goes for asMap
& isVariantMap
.