boost::urls::static_url::static_url
Constructor
Synopsis
static_url() noexcept;
explicit
static_url(core::string_view s);
static_url(static_url const& u) noexcept;
static_url(url_view_base const& u);
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
Exceptions
| Name | Thrown on |
|---|---|
|
input does not contain a valid url. |
|
would be exceeded. |
Parameters
| Name | Description |
|---|---|
s |
The string to parse&period; |
u |
The url to copy&period; |
Created with MrDocs