| Home | Libraries | People | FAQ | More

## Function template flat_set

boost::container::flat_set

## Synopsis

    // In header: <boost/container/flat_set.hpp>

    template<typename InputIterator, typename Compare, typename Allocator,
             typename = dtl::require_nonallocator_t<Compare>,
             typename = dtl::require_allocator_t<Allocator> >
       flat_set(ordered_unique_range_t, InputIterator, InputIterator,
                Compare const &, Allocator const &);

## Description

Deduction guide: allows a `flat_set` to be constructed from an already ordered, unique iterator range `[first, last)`, deducing the key type from `InputIterator` and taking the comparator and allocator types from the supplied arguments.