I am trying to use the emplace function of std::map, but it seems it is not implemented (but I read it was implemented in 4.8)
The following code:
std::map<std::string, double> maps;
maps.emplace("Test", 1.0);
leads to:
class std::map<std::basic_string<char>, double>' has no member named 'emplace'
Can someone clarify in which gcc version the emplace functions are implemented?