提示:
--------------------Configuration: main - Win32 Debug--------------------
Compiling...
main.cpp
e:\练习文件\【c++】\main.cpp(18) : error C2664: '__thiscall std::stack<int,class std::deque<int,class std::allocator<int> > >::std::stack<int,class std::deque<int,class std::allocator<int> > >(const class std::allocator<int> &)' : cannot convert par
ameter 1 from 'class std::deque<int,class std::allocator<int> >' to 'const class std::allocator<int> &'
Reason: cannot convert from 'class std::deque<int,class std::allocator<int> >' to 'const class std::allocator<int>'
No constructor could take the source type, or constructor overload resolution was ambiguous
执行 cl.exe 时出错.
main.obj - 1 error(s), 0 warning(s)
我用vc6,
用别的编译器又可以通过哦.....