News for hackers. Stuff that matters.
Re:Why Python is Slow: Looking Under the Hood by zmmmmm on Friday May 09, 2014 @10:06PM (#7724209)
Counting headers is rather unfair.

C++11:

map<int, char> x = {{1, 'a'}, {3, 'b'}, {5, 'c'}, {7, 'd'}};

Any not-ancient C++ using boost Assign:

map<int, char> x = map_list_of (1, 'a') (3, 'b') (5, 'c') (7, 'd');

Shamelessly stolen from here:

http://stackoverflow.com/questions/138600/initializing-a-sta...

There are no comments on this comment yet.