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 _______________________________________________ Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
