Clear the contents while preserving the capacity.
void clear();
this->[link url.ref.boost__urls__url_base.empty `empty`]() == true
Constant.
No-throw guarantee.