Exemplo n.º 1
0
 void push(const value_type& x)
 {
   c.push_back(x);
   std::push_heap(c.begin(), c.end(), static_cast<_Compare&>(*this));
 }
Exemplo n.º 2
0
 void push_back(const value_type& x)
 {
   c.push_back(x);
 }
Exemplo n.º 3
0
    void push(const value_type& __x) {
	c.push_back(__x);
	push_heap(c.begin(), c.end(), comp);
    }