std::ranges::subrange<I,S,K>::empty
From cppreference.com
C++
Ranges library
|
Range primitives | |||||||
|
Range concepts | |||||||||||||||||||
|
Range factories | |||||||||
|
Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
Helper items | |||||||||||||||||
|
constexpr bool empty() const; |
(since C++20) | |
Checks whether the subrange
is empty.
Return value
Example
This section is incomplete Reason: no example |
See also
obtains the size of the subrange (public member function) |
|
(C++17)
|
checks whether the container is empty (function template) |
(C++20)
|
checks whether a range is empty (customization point object) |