MCPcopy Create free account
hub / github.com/ElementsProject/elements / SettingsSpan

Method SettingsSpan

src/util/settings.cpp:239–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239SettingsSpan::SettingsSpan(const std::vector<SettingsValue>& vec) noexcept : SettingsSpan(vec.data(), vec.size()) {}
240const SettingsValue* SettingsSpan::begin() const { return data + negated(); }
241const SettingsValue* SettingsSpan::end() const { return data + size; }
242bool SettingsSpan::empty() const { return size == 0 || last_negated(); }

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected