On Tuesday 28 April 2015 22:32:12 Christian Mollekopf wrote:
> On the other hand, the problem of the variable return type is not solved
> by that,
> overloads and separate getters always seemed like a workaround to me,
> so it seems like Qt would benefit from something like boost::variant
> (aka. a discriminated union)

Why wouldn't QVariant be enough?
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

Reply via email to