vector::empty

bool empty() const;

The member function returns true for an empty controlled sequence.

See the related sample program.