Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit f5a2dc2871.
PrevUpHomeNext
url_view::empty

Return true if the url is empty.

Synopsis
bool
empty() const;
Description

The empty string matches the relative-ref grammar.

Example
assert( url_view( "" ).empty() );
Complexity

Constant.

Exception Safety

Throws nothing.

BNF
relative-ref  = relative-part [ "?" query ] [ "#" fragment ]

relative-part = "//" authority path-abempty
              / path-absolute
              / path-noscheme
              / path-empty
Specification

PrevUpHomeNext