Return true if the container is empty.
bool empty() const;
This function returns true if there are no elements in the container. That is, if the underlying path is the empty string.
Constant.
No-throw guarantee.