:relfileprefix: ../../../
[#boost-urls-authority_view-2constructor]

== xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/authority_view.adoc[pass:[authority_view]]::authority_view

  


Constructor



=== Synopsis
  

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
explicit
xref:boost/urls/authority_view/2constructor-03.adoc[pass:[authority_view]](core::string_view s);
----

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


Default constructed authorities
refer to a string with zero length,
which is always valid. This matches
the grammar for a zero-length host.

=== Throws nothing.








