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>