std::ranges::take_while_view<V,Pred>::pred
来自cppreference.com
< cpp | ranges | take while view
范围库
std::ranges::take_while_view
constexpr
const
Pred&
pred()
const;
|
(C++20 起) | |
返回到存储的谓词的引用。
若 *this
不存储谓词(例如在复制构造或移动构造 Pred
的对 *this
的赋值时抛出异常),则行为未定义。
参数
(无)
返回值
到存储的谓词的引用。
示例
本节未完成 原因:暂无示例 |