cppexpose icon indicating copy to clipboard operation
cppexpose copied to clipboard

Variant array naming confusion

Open j-o opened this issue 7 years ago • 0 comments

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.

j-o avatar Aug 09 '17 22:08 j-o