prog.cpp:7:44: error: expected ';' at end of member declaration
std::map<int, int32> bar = std::map<int, int32>{};
^
prog.cpp:7:44: error: declaration of 'std::map<int, int> foo::int32' [-fpermissive]
prog.cpp:3:13: error: changes meaning of 'int32' from 'typedef int int32' [-fpermissive]
typedef int int32;
^
prog.cpp:7:49: error: expected unqualified-id before '>' token
std::map<int, int32> bar = std::map<int, int32>{};
^
prog.cpp:7:39: error: wrong number of template arguments (1, should be at least 2)
std::map<int, int32> bar = std::map<int, int32>{};
^
In file included from /usr/include/c++/5/map:61:0,
from prog.cpp:1:
/usr/include/c++/5/bits/stl_map.h:96:11: note: provided for 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
class map
^