Constructors

Synopses

Declared in <common/settings.h>

Construct an empty span.

constexpr
explicit
SettingsSpan() = default;

Construct a span over a single value.

explicit
SettingsSpan(SettingsValue const& value) noexcept;

Construct a span over a vector of values.

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

Construct a span over a raw pointer and length.

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

Parameters

Name

Description

value

The value to span.

vec

The vector to span.

data

Pointer to the first value.

size

Number of values.

Created with MrDocs