Namespaces
Variants
Actions

std::flat_set<Key,Compare,KeyContainer>::begin, std::flat_set<Key,Compare,KeyContainer>::cbegin

From cppreference.com
< cpp‎ | container‎ | flat set
 
 
 
 
iterator begin() noexcept;
(1) (since C++23)
(constexpr since C++26)
const_iterator begin() const noexcept;
(2) (since C++23)
(constexpr since C++26)
const_iterator cbegin() const noexcept;
(3) (since C++23)
(constexpr since C++26)

Returns an iterator to the first element of *this.

If *this is empty, the returned iterator will be equal to end().

range-begin-end.svg

Contents