std::multiset::empty

From Cppreference

Jump to: navigation, search
bool empty() const;

Checks if the container has no elements, i.e. whether begin() == end().

Contents

[edit] Parameters

(none)

[edit] Return value

true if the container is empty, false otherwise

[edit] Exceptions

noexcept specification:  
noexcept

  (C++11 feature)

[edit] Complexity

Constant

See also

size
returns the number of elements
(public member function)