Namespaces
Variants
Actions

std::ranges::subrange<I,S,K>::empty

From cppreference.com
< cpp‎ | ranges‎ | subrange
 
 
Ranges library
 
 
constexpr bool empty() const;
(since C++20)

Checks whether the subrange is empty.

[edit] Return value

begin_  == end_ .

[edit] Example

This section is incomplete
Reason: no example

[edit] See also

obtains the size of the subrange
(public member function) [edit]
(C++17)
checks whether the container is empty
(function template) [edit]
checks whether a range is empty
(customization point object)[edit]
Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/ranges/subrange/empty&oldid=176908"

AltStyle によって変換されたページ (->オリジナル) /