GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_map.h: In instantiation of `std::map<int, TEAM&, std::less<int>, std::allocator<std::pair<const int, TEAM&> > >':
0_0_5187261_32679.cpp:29: instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_map.h:332: error: forming reference to reference type `TEAM&'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h: In instantiation of `std::pair<const int, TEAM&>':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tree.h:135: instantiated from `std::_Rb_tree_node<std::pair<const int, TEAM&> >'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tree.h:1064: instantiated from `void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_erase(std::_Rb_tree_node<_Val>*) [with _Key = int, _Val = std::pair<const int, TEAM&>, _KeyOfValue = std::_Select1st<std::pair<const int, TEAM&> >, _Compare = std::less<int>, _Alloc = std::allocator<std::pair<const int, TEAM&> >]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tree.h:565: instantiated from `std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::~_Rb_tree() [with _Key = int, _Val = std::pair<const int, TEAM&>, _KeyOfValue = std::_Select1st<std::pair<const int, TEAM&> >, _Compare = std::less<int>, _Alloc = std::allocator<std::pair<const int, TEAM&> >]'
0_0_5187261_32679.cpp:29: instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h:85: error: forming reference to reference type `TEAM&'
0_0_5187261_32679.cpp: In function `int main()':
0_0_5187261_32679.cpp:46: error: no matching function for call to `std::pair<int, TEAM&>::pair(int&, TEAM&)'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h:69: note: candidates are: std::pair<int, TEAM&>::pair(const std::pair<int, TEAM&>&)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h:81: note: std::pair<_T1, _T2>::pair() [with _T1 = int, _T2 = TEAM&]
|