文法:
#include <queue> bool empty() const;
empty()関数は優先度キューが要素を持っていなければ真(true)を、そうでなければ偽(false)を返却します。
関連トピック: size