[#boost-urls-grammar-string_view_base-2constructor-01]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::xref:boost/urls/grammar/string_view_base.adoc[string&lowbar;view&lowbar;base]::string&lowbar;view&lowbar;base
:relfileprefix: ../../../../
:mrdocs:

Constructor

== Synopses

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

Constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:boost/urls/grammar/string_view_base/2constructor-02.adoc[string&lowbar;view&lowbar;base]() = default;
----

[.small]#xref:boost/urls/grammar/string_view_base/2constructor-02.adoc[_» more&period;&period;&period;_]#

Constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:boost/urls/grammar/string_view_base/2constructor-09.adoc[string&lowbar;view&lowbar;base](core::string&lowbar;view s) noexcept;
----

[.small]#xref:boost/urls/grammar/string_view_base/2constructor-09.adoc[_» more&period;&period;&period;_]#

Constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:boost/urls/grammar/string_view_base/2constructor-0e.adoc[string&lowbar;view&lowbar;base](xref:boost/urls/grammar/string_view_base.adoc[string&lowbar;view&lowbar;base] const&) = default;
----

[.small]#xref:boost/urls/grammar/string_view_base/2constructor-0e.adoc[_» more&period;&period;&period;_]#

Constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:boost/urls/grammar/string_view_base/2constructor-0a.adoc[string&lowbar;view&lowbar;base](
    char const* data,
    std::size&lowbar;t size) noexcept;
----

[.small]#xref:boost/urls/grammar/string_view_base/2constructor-0a.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols=2]
|===
| Name
| Description
| *s*
| The string view
| *data*
| The character buffer
| *size*
| The number of characters
|===


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