Share via


forward_list::empty

Tests whether a forward list is empty.

bool empty() const;

Return Value

true if the forward list is empty; otherwise, false.

Requirements

Header: <forward_list>

Namespace: std

See Also

Reference

forward_list Class