![]() |
#2
pangding2010-08-11 09:46
|

#include <iostream>
#include <vector>
#include <deque>
#include <stack>
using namespace std;
int main(void)
{
deque<int> deq(10,5);
stack<int> sta(deq);//为什么提醒不能转换呢
return 0;
}
#include <vector>
#include <deque>
#include <stack>
using namespace std;
int main(void)
{
deque<int> deq(10,5);
stack<int> sta(deq);//为什么提醒不能转换呢
return 0;
}
编译通不过.....