http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53173
--- Comment #6 from gcc <shalja.rudra at gmail dot com> 2012-05-02 14:53:25 UTC --- Thanks for the point, Jonathan ! I will make changes accordingly in our code. (In reply to comment #4) > (In reply to comment #0) > > 4. error: no matching function for call to ‘make_pair(std::string&, > > std::string&)’ > If you're calling make_pair with an explicit template argument list e.g. > pair<string&, string&> p = make_pair<string&, string&>(s1, s2); > then that won't work in C++11 > Just construct a pair directly, it's pointless to use make_pair if you don't > want to deduce the argument types: > auto p = pair<string&, string&>(s1, s2); > or > pair<string&, string&> p(s1, s2);