common::SettingsSpan::SettingsSpan

Constructors

Synopses

Declared in <common/settings.h>

Construct an empty span.

constexpr
explicit
SettingsSpan() = default;
» more...

Construct a span over a single value.

explicit
SettingsSpan(SettingsValue const& value) noexcept;
» more...

Construct a span over a vector of values.

explicit
SettingsSpan(std::vector<SettingsValue> const& vec) noexcept;
» more...

Construct a span over a raw pointer and length.

explicit
SettingsSpan(
    SettingsValue const* data,
    size_t size) noexcept;
» more...

Parameters

NameDescription
valueThe value to span.
vecThe vector to span.
dataPointer to the first value.
sizeNumber of values.