Remove the contents of the container.
void clear();
This function removes all the segments from the container, leaving the underlying URL with an empty path.
empty() == true
Throws nothing.