mrdocs::dom::Value::get

get overloads

Synopses

Declared in <mrdocs/Dom/Value.hpp>

Return the element at a given index.

dom::Value
get(std::size_t i) const;
» more...

Return the element for a given key.

dom::Value
get(std::string_view key) const;
» more...

Return the element at a given index or key.

dom::Value
get(dom::Value const& i) const;
» more...
template<std::convertible_to<std::string_view> S>
dom::Value
get(S const& key) const;
» more...

Return Value

Parameters

Name Description
i The index.
key The key.

Created with MrDocs