[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Alternative to QDateTime::isDateOnly ?
From:       Thiago Macieira <thiago () kde ! org>
Date:       2015-05-01 16:07:51
Message-ID: 16103546.C9GnEurEjY () tjmaciei-mobl4
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic