[#boost-urls-url_view-2constructor-00] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/url_view.adoc[url_view]::url_view :relfileprefix: ../../../ :mrdocs: xref:boost/urls/url_view/2constructor-00.adoc[url_view(core::string_view)] == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/url_view.hpp#L200[boost/url/url_view.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class String> requires std::is_convertible< String, core::string_view >::value && !std::is_convertible< String*, url_view_base* >::value && std::is_convertible< String, core::string_view >::value && !std::is_convertible< String*, url_view_base* >::value url_view(String const& s); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#