[Interest] Qt support for strongly-typed enums
NoRulez
norulez at me.com
Sat Nov 21 06:52:17 CET 2015
ok thanks, i learned a bit more today.
I over read the qHash function overload thing.
Best Regards
> Am 21.11.2015 um 05:46 schrieb Thiago Macieira <thiago.macieira at intel.com>:
>
>> On Saturday 21 November 2015 05:33:23 NoRulez wrote:
>> Is this also possible for keys in a QHash for example?
>
> Any type that is default constructible, comparable and for which qHash() works
> can be used as a key.
>
> So, did you declare the qHash function for your enum?
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
> Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
More information about the Interest
mailing list