Lines Matching refs:TValue
27 template <typename TKey, typename TValue>
33 typename std::vector<std::pair<TKey, TValue>>::const_iterator;
38 static ImmutableMap<TKey, TValue> CreatePreSorted( in CreatePreSorted()
39 std::initializer_list<std::pair<TKey, TValue>> list) { in CreatePreSorted()
41 std::vector<std::pair<TKey, TValue>>(list.begin(), list.end())); in CreatePreSorted()
44 static ImmutableMap<TKey, TValue> CreateAndSort( in CreateAndSort()
45 std::initializer_list<std::pair<TKey, TValue>> list) { in CreateAndSort()
46 std::vector<std::pair<TKey, TValue>> data(list.begin(), list.end()); in CreateAndSort()
54 auto cmp = [](const std::pair<TKey, TValue>& candidate, in find()
74 explicit ImmutableMap(std::vector<std::pair<TKey, TValue>> data) in ImmutableMap()
77 std::vector<std::pair<TKey, TValue>> data_;