18 template<
typename Comp,
typename Key>
20 [[no_unique_address]] Comp
comp {};
22 template<
typename U,
typename V1,
typename V2>
28 template<
typename U,
typename V1,
typename V2>
34 template<
typename U,
typename V1>
40 template<
typename U,
typename V2>
48 constexpr auto operator()(Key
const& a, U
const& b)
const {
54 constexpr auto operator()(U
const& a, Key
const& b)
const {
58 template<
typename T,
typename U>
60 constexpr auto operator()(T
const& a, U
const& b)
const {
65 template<
typename Key,
typename Value>
69template<
typename Key,
typename Value, concepts::StrictWeakOrder<Key> Comp = function::Compare,
70 concepts::Allocator Alloc = DefaultAllocator>
73 Tuple<Key, Value>, detail::TreeMapCompAdapter<Comp, Key>, detail::TreeMapTag<Key, Value>, Alloc,
75 TreeMap<Key, Value, Comp, Alloc>, Tuple<Key, Value>, Key, Value,
76 RBTreeIterator<Tuple<Key, Value>, detail::TreeMapTag<Key, Value>>,
77 container::ConstIteratorImpl<RBTreeIterator<Tuple<Key, Value>, detail::TreeMapTag<Key, Value>>>,
78 detail::RBTreeValidForLookup<Tuple<Key, Value>, detail::TreeMapCompAdapter<Comp, Key>>::template Type,
95 TreeMap(Comp
const& comparator) : Base(
detail::TreeMapCompAdapter<Comp, Key> { comparator }) {}
98template<concepts::InputContainer Con, concepts::TupleLike T = meta::ContainerValue<Con>>
103template<concepts::InputContainer Con, concepts::TupleLike T = meta::ContainerValue<Con>,
104 concepts::StrictWeakOrder<T> Comp>
Definition const_iterator_impl.h:19
Definition map_interface.h:21
Definition owning_rb_tree.h:42
Definition rb_tree_iterator.h:10
TreeMap(Comp const &comparator)
Definition tree_map.h:95
Definition tuple_forward_declaration.h:5
constexpr auto invoke
Definition invoke.h:100
di::meta::Decay< decltype(T)> Tag
Definition tag_invoke.h:28
constexpr auto get(T &&value) -> decltype(auto)
Definition get.h:8
Definition zstring_parser.h:9
constexpr tag_invoke_detail::TagInvokeFn tag_invoke
Definition tag_invoke.h:22
Definition owning_rb_tree.h:28
Comp comp
Definition tree_map.h:20
Definition in_place_template.h:5