0_0_39288388_27136.cpp: In function 'int main()':
0_0_39288388_27136.cpp:23:59: error: cannot bind rvalue reference of type 'std::__cxx11::basic_string<char>&&' to lvalue of type 'std::string' {aka 'std::__cxx11::basic_string<char>'}
23 | else mp[make_pair<string, string>(s2, s1)] = x;
| ^~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algobase.h:64,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/string:51,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/locale_classes.h:40,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ios_base.h:41,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ios:44,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ostream:40,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:41,
from 0_0_39288388_27136.cpp:1:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:922:21: note: initializing argument 1 of 'constexpr std::pair<typename std::__strip_reference_wrapper<typename std::decay<_Tp>::type>::__type, typename std::__strip_reference_wrapper<typename std::decay<_Tp2>::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = __cxx11::basic_string<char>; _T2 = __cxx11::basic_string<char>; typename __strip_reference_wrapper<typename decay<_Tp>::type>::__type = __cxx11::basic_string<char>; typename decay<_Tp>::type = __cxx11::basic_string<char>; typename __strip_reference_wrapper<typename decay<_Tp2>::type>::__type = __cxx11::basic_string<char>; typename decay<_Tp2>::type = __cxx11::basic_string<char>]'
922 | make_pair(_T1&& __x, _T2&& __y)
| ~~~~~~^~~
|