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


xref:boost/urls/url_view/2constructor-00.adoc[url&lowbar;view(core&colon;&colon;string&lowbar;view)]

== Synopsis


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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class String&gt;
requires std&colon;&colon;is&lowbar;convertible&lt;
                String,
                core&colon;&colon;string&lowbar;view
                    &gt;&colon;&colon;value &amp;&amp;
            !std&colon;&colon;is&lowbar;convertible&lt;
                String&ast;,
                url&lowbar;view&lowbar;base&ast;
                    &gt;&colon;&colon;value &amp;&amp; std&colon;&colon;is&lowbar;convertible&lt;
                String,
                core&colon;&colon;string&lowbar;view
                    &gt;&colon;&colon;value &amp;&amp;
            !std&colon;&colon;is&lowbar;convertible&lt;
                String&ast;,
                url&lowbar;view&lowbar;base&ast;
                    &gt;&colon;&colon;value
url&lowbar;view(String const& s);
----



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