Thanks for reminding me norm, compile error occurs on line 16 above:
D:\wolf\Documents\teensy\demo_MinGW>g++ temp2.cpp
temp2.cpp:16:38: error: in C++98 'A::km' must be initialized by constructor, not
by '{...}'
A::KeyMap A::km = {{1, 'a'}, {2, 'b'}};
^
temp2.cpp:16:38: warning: extended initializer lists only available with -std=c+
+11 or -std=gnu++11 [enabled by default]
temp2.cpp:16:38: error: could not convert '{{1, 'a'}, {2, 'b'}}' from '<brace-en
closed initializer list>' to 'A::KeyMap {aka std::map<int, char>}'