@@ -730,16 +731,16 @@ struct QAbstractValueReader : public QAbstractValue
||(tryRecord()&&tryOut())){
returntrue;
}
boolb;// usually easier to check than types below
doubled;// matches most used numbers more easily than types below
qint64i;// matches most used integrals more easily than types below
boolb;// usually easier to check than types below
doubled;// matches most used numbers more easily than types below
qint64i;// matches most used integrals more easily than types below
quint64u;
QVariantv;
QByteArraybytes;
QStrings;// matches any type with usually less encoding work than QUtf8Data (which only captures efficiently utf-8 whereas QChar easily captures Latin1 in addition to ASCII)
doubled;if((srcRes=src.bind(d))){dst.bind(d);returnsrcRes;}//! \remark Double-precision floating point numeric types can only be handled if QAbstractValue refuses to lose leading digits or precision
// TODO Other BindNative types we do not want to treat as text: QDateTime, QUuid
elseif(src->mode()==Write&&dst->mode()==Read){returnzap(std::move(dst),std::move(src));}// To return reader's QValueStatus instead of writer's QValueStatus since it should contain more information (mismatches, etc.)