◐ Shell
clean mode source ↗

std::ranges::subrange<I,S,K>::empty - cppreference.com

From cppreference.com

constexpr bool empty() const;
(since C++20)

Checks whether the subrange is empty.

Return value

begin_ == end_.

Example

See also

obtains the size of the subrange
(public member function) [edit]
checks whether the container is empty
(function template) [edit]
checks whether a range is empty
(customization point object)[edit]