url

Constructor

Synopsis

url() noexcept = default;

Declared in file <include/boost/url/url.hpp> on line 120

Defined in file <src/url.cpp> on line 36

Description

Default constructed urls contain a zero-length string. This matches the grammar for a relative-ref with an empty path and no query or fragment.

Example

url u;

Postconditions

this->empty() == true

Complexity

Constant.

Exception Safety

Throws nothing.

BNF

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