Lines Matching defs:ValueT
46 template<typename KeyT, typename ValueT, typename Config>
84 template<typename KeyT, typename ValueT, typename Config =ValueMapConfig<KeyT>>
86 friend class ValueMapCallbackVH<KeyT, ValueT, Config>;
88 using ValueMapCVH = ValueMapCallbackVH<KeyT, ValueT, Config>;
89 using MapT = DenseMap<ValueMapCVH, ValueT, DenseMapInfo<ValueMapCVH>>;
99 using mapped_type = ValueT;
100 using value_type = std::pair<KeyT, ValueT>;
165 ValueT lookup(const KeyT &Val) const {
167 return I != Map.end() ? I->second : ValueT();
173 std::pair<iterator, bool> insert(const std::pair<KeyT, ValueT> &KV) {
178 std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) {
207 ValueT &operator[](const KeyT &Key) {
240 template <typename KeyT, typename ValueT, typename Config>
242 friend class ValueMap<KeyT, ValueT, Config>;
245 using ValueMapT = ValueMap<KeyT, ValueT, Config>;
289 ValueT Target(std::move(I->second));
297 template<typename KeyT, typename ValueT, typename Config>
298 struct DenseMapInfo<ValueMapCallbackVH<KeyT, ValueT, Config>> {
299 using VH = ValueMapCallbackVH<KeyT, ValueT, Config>;
332 using ValueT = typename DenseMapT::mapped_type;
344 ValueT& second;
348 operator std::pair<KeyT, ValueT>() const {
384 using ValueT = typename DenseMapT::mapped_type;
398 const ValueT& second;
400 operator std::pair<KeyT, ValueT>() const {