[#common-SettingsSpan-2constructor-0f]
= xref:common.adoc[common]::xref:common/SettingsSpan.adoc[SettingsSpan]::SettingsSpan
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;common&sol;settings&period;h&gt;`

Construct an empty span&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
explicit
xref:common/SettingsSpan/2constructor-04.adoc[SettingsSpan]() = default;
----

[.small]#xref:common/SettingsSpan/2constructor-04.adoc[_» more&period;&period;&period;_]#

Construct a span over a single value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:common/SettingsSpan/2constructor-0ae.adoc[SettingsSpan](xref:common/SettingsValue.adoc[SettingsValue] const& value) noexcept;
----

[.small]#xref:common/SettingsSpan/2constructor-0ae.adoc[_» more&period;&period;&period;_]#

Construct a span over a vector of values&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:common/SettingsSpan/2constructor-0c.adoc[SettingsSpan](std::vector&lt;SettingsValue&gt; const& vec) noexcept;
----

[.small]#xref:common/SettingsSpan/2constructor-0c.adoc[_» more&period;&period;&period;_]#

Construct a span over a raw pointer and length&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:common/SettingsSpan/2constructor-0ac.adoc[SettingsSpan](
    xref:common/SettingsValue.adoc[SettingsValue] const* data,
    size&lowbar;t size) noexcept;
----

[.small]#xref:common/SettingsSpan/2constructor-0ac.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| The value to span&period;
| *vec*
| The vector to span&period;
| *data*
| Pointer to the first value&period;
| *size*
| Number of values&period;
|===


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