[#boost-urls-authority_view-2constructor]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/authority_view.adoc[authority&lowbar;view]::authority&lowbar;view
:relfileprefix: ../../../
:mrdocs:


Constructor

== Synopsis


Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/authority_view.hpp#L121[boost&sol;url&sol;authority&lowbar;view&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/authority_view/2constructor-0e.adoc[authority&lowbar;view]() noexcept;
----

[.small]#xref:boost/urls/authority_view/2constructor-0e.adoc[_» more..._]#

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

[.small]#xref:boost/urls/authority_view/2constructor-03.adoc[_» more..._]#

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/authority_view/2constructor-04.adoc[authority&lowbar;view](xref:boost/urls/authority_view.adoc[authority&lowbar;view] const&) noexcept;
----

[.small]#xref:boost/urls/authority_view/2constructor-04.adoc[_» more..._]#

== Description


Default constructed authorities        refer to a string with zero length,        which is always valid&period; This matches        the grammar for a zero&hyphen;length host&period;


=== Exception Safety

Throws nothing&period;


=== Specification





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