[Interest] initialising a dictionary-type container instance with a static table?
René J. V. Bertin
rjvbertin at gmail.com
Mon Jan 2 15:18:48 CET 2017
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.
R.
More information about the Interest
mailing list