std::all_of
std::all_of, std::any_of, std::none_of
Defined in header <algorithm> | ||
---|---|---|
template< class InputIt, class UnaryPredicate > bool all_of( InputIt first, InputIt last, UnaryPredicate p ); | (1) | (since C++11) |
template< class ExecutionPolicy, class ForwardIt, class UnaryPredicate > bool all_of( ExecutionPolicy&& policy, ForwardIt first, ForwardIt last, UnaryPredicate p ); | (2) | (since C++17) |
登录查看完整内容 |