[Development] QVariant comparison in Qt6
thiago.macieira at intel.com
Tue Sep 22 18:41:47 CEST 2020
On Tuesday, 22 September 2020 09:24:44 PDT Andrei Golubev wrote:
> Also, you can use std::optional<int> internally in that class as an
> underlying storage for the result or/and have a conversion operator to
> std::optional<int> if this is a much desired return type, right?
Don't use optional internally for what a simple 8-bit number works.
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel DPG Cloud Engineering
More information about the Development