std::ranges::subrange<I,S,K>:: empty
From cppreference.net
C++
Ranges library
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|
||||||||||||||||
std::ranges::subrange
|
constexpr
bool
empty
(
)
const
;
|
(自 C++20 起) | |
检查
subrange
是否为空。
返回值
示例
|
本节内容不完整
原因:缺少示例 |
参见
获取
subrange
的大小
(公开成员函数) |
|
|
(C++17)
|
检查容器是否为空
(函数模板) |
|
(C++20)
|
检查范围是否为空
(定制点对象) |