Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Things to check
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Returns:;; `false` iff `f` ever returns `false`. Throws:;; Depending on the exception handling mechanism of the execution policy used, may call `std::terminate` if an exception is thrown within `f`. Notes:;; Only available in compilers supporting C++17 parallel algorithms. + + These overloads only participate in overload resolution if `返回值:当且仅当 f 曾返回 false 时,整体返回 false。抛出异常:根据所使用执行策略的异常处理机制,如果 f 内部抛出异常,则可能会调用 std::terminate。
注意:
仅在支持 C++17 并行算法的编译器中可用。
仅当 std::is_execution_policy_v<std::remove_cvref_t<
EexecutionPpolicy>>` is `true`. + + Unsequenced execution policies are not allowed. + + Parallelization implies that execution does not necessary finish as soon as `f` returns `false`, and as a result `f` may be invoked with further elements for which the return value is also `false`.> 为 true 时,这些重载版本才参与重载决议。不允许使用无序执行策略。
并行化意味着:即使 f 已返回 false,执行流程也不一定会立即终止;因此,f 可能还会被继续调用以处理后续元素,且这些调用同样可能返回 false。</std::remove_cvref_t<executionpolicy>