constexpr const Pred& pred() const; | (since C++20) |
Returns a reference to the stored predicate.
If *this
does not store a predicate (e.g. an exception is thrown on the assignment to *this
, which copy-constructs or move-constructs a Pred
), the behavior is undefined.
(none).
a reference to the stored predicate.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/ranges/take_while_view/pred