std::priority_queue<TypeName, Container, Compare> q;
所以如果用stack 作为Container(一般用vector),它和原来的有区别吗?
stack
Container
vector