boost::urls::static_url::static_url

Constructor

Synopsis

Declared in header <boost/url/static_url.hpp>

static_url() noexcept;

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.

static_url< 1024 > u;
this->empty() == true

Constant.

Throws nothing.

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

4.2. Relative Reference (rfc3986)