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 master branch, built from commit 20a7dc9240.
PrevUpHomeNext
url_view::url_view (1 of 4 overloads)

Constructor.

Synopsis
url_view();
Description

Default constructed views refer to a string with zero length, which always remains valid. This matches the grammar for a relative-ref with an empty path and no query or fragment.

Example
url_view u;
Postconditions
this->empty() == true
Complexity

Constant.

Exception Safety

Throws nothing.

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

4.2. Relative Reference (rfc3986)


PrevUpHomeNext