boost::urls::url_view_base::empty Return true if the url is empty Synopsis Declared in header <boost/url/url_view_base.hpp> bool empty() const noexcept; Description The empty string matches the relative-ref grammar. assert( url_view( "" ).empty() ); Constant. Throws nothing. relative-ref = relative-part [ "?" query ] [ "#" fragment ] relative-part = "//" authority path-abempty / path-absolute / path-noscheme / path-empty 4.2. Relative Reference (rfc3986)