#include <map> int main(){ std::map<int, int> s; s.emplace({5,6});}
Standard input is empty
prog.cpp: In function ‘int main()’: prog.cpp:6:7: error: ‘class std::map<int, int>’ has no member named ‘emplace’
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!