A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://timsong-cpp.github.io/cppwp/n4659/priqueue.members below:

[priqueue.members]

26 Containers library [containers] 26.6 Container adaptors [container.adaptors] 26.6.5 Class template priority_­queue [priority.queue] 26.6.5.3 priority_­queue members [priqueue.members]

void push(const value_type& x);

Effects: As if by:

c.push_back(x);
push_heap(c.begin(), c.end(), comp);

void push(value_type&& x);

Effects: As if by:

c.push_back(std::move(x));
push_heap(c.begin(), c.end(), comp);

template <class... Args> void emplace(Args&&... args)

Effects: As if by:

c.emplace_back(std::forward<Args>(args)...);
push_heap(c.begin(), c.end(), comp);

void pop();

Effects: As if by:

pop_heap(c.begin(), c.end(), comp);
c.pop_back();

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4