[Interest] initialising a dictionary-type container instance with a static table?

Thiago Macieira thiago.macieira at intel.com
Mon Jan 2 16:07:00 CET 2017

On segunda-feira, 2 de janeiro de 2017 15:18:48 BRST René J. V. Bertin wrote:
> Konstantin Shegunov wrote:
> > Then I'd vote for Thiago's solution. The only drawback with it is that it
> > requires C++11 support, but that should be available pretty much anywhere
> > nowadays.
> Still quite a sizeable population of users of older Mac OS X versions out
> there, who don't have proper C++11 support unless they do a libc++
> conversion hack. And even then I'm not 100% sure that initialiser lists are
> available and/or work reliably.

Qt 5.7 and up requires C++11, including initialiser lists.

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

More information about the Interest mailing list