[Development] Use QMetaEnum::keyCount() to initialise array

Thiago Macieira thiago.macieira at intel.com
Wed Jan 2 13:42:42 CET 2019


On Wednesday, 2 January 2019 09:45:29 -02 Thiago Macieira wrote:
> Because the information is not known to the compiler at compile time.

To be stricter: it *is* know to the compiler, but without a constexpr 
reflection API, we can't get the information out of the compiler and into 
code.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Development mailing list