boost::urls::static_url::static_url

Constructor

Synopsis

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

Complexity

Constant.

Exception Safety

Throws nothing.

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

Specification

Created with MrDocs