[#common-SettingsSpan-2constructor-0f] = xref:common.adoc[common]::xref:common/SettingsSpan.adoc[SettingsSpan]::SettingsSpan :relfileprefix: ../../ :mrdocs: Constructors == Synopses Declared in `<common/settings.h>` Construct an empty span. [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..._]# Construct a span over a single value. [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..._]# Construct a span over a vector of values. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:common/SettingsSpan/2constructor-0c.adoc[SettingsSpan](std::vector<SettingsValue> const& vec) noexcept; ---- [.small]#xref:common/SettingsSpan/2constructor-0c.adoc[_» more..._]# Construct a span over a raw pointer and length. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:common/SettingsSpan/2constructor-0ac.adoc[SettingsSpan]( xref:common/SettingsValue.adoc[SettingsValue] const* data, size_t size) noexcept; ---- [.small]#xref:common/SettingsSpan/2constructor-0ac.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *value* | The value to span. | *vec* | The vector to span. | *data* | Pointer to the first value. | *size* | Number of values. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#