Searched refs:MapElement (Results 1 – 1 of 1) sorted by relevance
/system/teeui/libteeui/include/teeui/ |
D | cbor.h | 53 template <typename Key, typename Value> struct MapElement { struct 56 MapElement(const Key& key, const Value& value) : key_(key), value_(value) {} in MapElement() function 133 struct Map<MapElement<HeadKey, HeadValue>, Tail...> { 134 const MapElement<HeadKey, HeadValue>& head_; 136 Map(const MapElement<HeadKey, HeadValue>& head, const Tail&... tail) 144 Map<MapElement<Keys, Values>...> map(const MapElement<Keys, Values>&... elements) { 145 return Map<MapElement<Keys, Values>...>(elements...); 152 template <typename Key, typename Value> MapElement<Key, Value> pair(const Key& k, const Value& v) { 153 return MapElement<Key, Value>(k, v); 281 WriteState write(WriteState wState, const MapElement<Key, Value>& element) {
|