◐ Shell
clean mode source ↗

std::priority_queue::empty – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

Prüft, ob die zugrunde liegenden Container keine Elemente, dh ob c.empty() .

Original:

Checks if the underlying container has no elements, i.e. whether c.empty().

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parameter

(None)

Original:

(none)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Rückgabewert

true wenn die zugrunde liegende Behälter leer ist, false anders

Original:

true if the underlying container is empty, false otherwise

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Komplexität

Constant

Original:

Constant

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Siehe auch

liefert die Anzahl der Elemente

Original:

returns the number of elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]