58 template<
typename ForwardKey,
typename ForwardValue>
115 return vector->as_mutable_span();
140 typename MapType::ItemIterator
items()
const
148 typename MapType::KeyIterator
keys()
const
156 typename MapType::ValueIterator
values()
const
168 map_.clear_and_shrink();
#define BLI_STRUCT_EQUALITY_OPERATORS_1(Type, m)
ValueIterator values() const &
Value & lookup_or_add_default_as(ForwardKey &&key)
const Value * lookup_ptr_as(const ForwardKey &key) const
KeyIterator keys() const &
ItemIterator items() const &
MapType::KeyIterator keys() const
void add(const Key &key, Value &&value)
Span< Value > lookup_as(const ForwardKey &key) const
void add(Key &&key, const Value &value)
Span< Value > lookup(const Key &key) const
void add(Key &&key, Value &&value)
void add_non_duplicates(const Key &key, const Value &value)
void add_multiple(const Key &key, Span< Value > values)
MutableSpan< Value > lookup_as(const ForwardKey &key)
MutableSpan< Value > lookup(const Key &key)
void add_multiple(Key &&key, Span< Value > values)
MapType::ItemIterator items() const
void add_multiple_as(ForwardKey &&key, Span< Value > values)
void add_as(ForwardKey &&key, ForwardValue &&value)
void add(const Key &key, const Value &value)
MapType::ValueIterator values() const