1.cpp: In function ‘int main()’:
1.cpp:24: error: call of overloaded ‘swap(int&, int&)’ is ambiguous
1.cpp:12: note: candidates are: void swap(any&, any&) [with any = int]
/usr/include/c++/4.4/bits/move.h:76: note: void std::swap(_Tp&, _Tp&) [with _Tp = int]
ambiguous:模糊的
candidates:另一个
swap与库文件move.h冲突
阅读(1236) | 评论(0) | 转发(0) |