13 template <
class K,
class V>
23 template <
class KM,
class VM>
32 for (
auto it = data.begin(); it != data.end(); ++it){
48 this->empty_ptr = (V*) ∅
53 return find_entry(key);
57 void put(K key,V value){
58 V value_found = find_entry(key);
60 if (&value_found == empty_ptr ){
63 data.push_back(new_entry);
A simple key value map collection.
Definition: Map.h:14
V & get(K key)
Gets an element by key.
Definition: Map.h:52
void put(K key, V value)
Adds an element with a key.
Definition: Map.h:57
Map(const V &empty)
Construct a new Map object.
Definition: Map.h:47
Vector implementation which provides the most important methods as defined by std::vector....
Definition: Vector.h:15
Pico Arduino Framework.
Definition: Arduino.cpp:26
Key/Value.
Definition: Map.h:24