libycxx

deduction guide

std::flat_map<KeyContainer::value_type, MappedContainer::value_type, Compare, KeyContainer, MappedContainer>

Scope
std::flat_map<KeyContainer::value_type, MappedContainer
cppreference
<flat_map> nearest page

Synopsis

template<
    class KeyContainer,
    class MappedContainer,
    class Compare,
    class Allocator>
  requires flat-container-arg<KeyContainer> && flat-container-arg<MappedContainer> &&
           flat-compare-for<Compare, KeyContainer> && uses_allocator_v<KeyContainer, Allocator> &&
           uses_allocator_v<MappedContainer, Allocator>
flat_map<KeyContainer::value_type, MappedContainer::value_type, Compare, KeyContainer, MappedContainer>(
    
    sorted_unique_t,
    KeyContainer,
    MappedContainer,
    Compare,
    Allocator) -> flat_map<KeyContainer::value_type, MappedContainer::value_type, Compare, KeyContainer, MappedContainer>;