boost::urls::url_view::url_view

Constructor

Synopsis

template<
    class String,
    class = void>
url_view(String const& s);

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.

url_view u;
this->empty() == true

Complexity

Constant.

Exception Safety

Throws nothing.

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

Specification

Created with MrDocs