[#boost-urls-static_url-2constructor-05]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/static_url.adoc[static&lowbar;url]::static&lowbar;url
:relfileprefix: ../../../
:mrdocs:

Constructor

== Synopses

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/static_url.hpp#L164[boost&sol;url&sol;static&lowbar;url&period;hpp]&gt;`

Constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/static_url/2constructor-098.adoc[static&lowbar;url]() noexcept;
----

[.small]#xref:boost/urls/static_url/2constructor-098.adoc[_» more&period;&period;&period;_]#

Constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/static_url/2constructor-09f.adoc[static&lowbar;url](xref:boost/urls/static_url.adoc[static&lowbar;url] const& u) noexcept;
----

[.small]#xref:boost/urls/static_url/2constructor-09f.adoc[_» more&period;&period;&period;_]#

Constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:boost/urls/static_url/2constructor-08.adoc[static&lowbar;url](core::string&lowbar;view s);
----

[.small]#xref:boost/urls/static_url/2constructor-08.adoc[_» more&period;&period;&period;_]#

Constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/static_url/2constructor-0b.adoc[static&lowbar;url](xref:boost/urls/url_view_base.adoc[url&lowbar;view&lowbar;base] const& u);
----

[.small]#xref:boost/urls/static_url/2constructor-0b.adoc[_» more&period;&period;&period;_]#

== Exceptions

[cols="1,4"]
|===
| Name| Thrown on
| `system&lowbar;error`
| The input does not contain a valid url&period;
|===

== Parameters

[cols="1,4"]
|===
| Name| Description
| *u*
| The url to copy&period;
| *s*
| The string to parse&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
