コード例 #1
0
    bool equals (const ValueUnion& data, const ValueUnion& otherData, const VariantType& otherType) const noexcept override
    {
        if (otherType.isDouble() || otherType.isString())
            return otherType.equals (otherData, data, *this);

        return otherType.toInt64 (otherData) == data.int64Value;
    }
コード例 #2
0
 bool equals (const ValueUnion& data, const ValueUnion& otherData, const VariantType& otherType) const noexcept
 {
     return otherType.toInt64 (otherData) == data.int64Value;
 }