Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 671 Bytes

File metadata and controls

31 lines (20 loc) · 671 Bytes

Size and capacity

empty

bool empty() const;

Returns: true if the container is empty; false, otherwise.

The result may differ from the actual container state in case of pending concurrent push or try_pop operations.

size

size_type size() const;

Returns: the number of elements in the container.

The result may differ from the actual number of elements in case of pending concurrent push or try_pop operations.