reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
83 std::pair<KeyT, ValueT> &front() { return Vector.front(); } 84 const std::pair<KeyT, ValueT> &front() const { return Vector.front(); } 85 std::pair<KeyT, ValueT> &back() { return Vector.back(); } 86 const std::pair<KeyT, ValueT> &back() const { return Vector.back(); } 98 ValueT &operator[](const KeyT &Key) { 103 Vector.push_back(std::make_pair(Key, ValueT())); 110 ValueT lookup(const KeyT &Key) const { 111 static_assert(std::is_copy_constructible<ValueT>::value, 114 return Pos == Map.end()? ValueT() : Vector[Pos->second].second; 117 std::pair<iterator, bool> insert(const std::pair<KeyT, ValueT> &KV) { 129 std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) {