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

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


Constructor


== Synopsis

Declared in header `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/authority_view.hpp#L121[boost/url/authority_view.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
authority_view() 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.

=== Exception Safety

Throws nothing.

=== Specification








