* @brief Check if all the futures stored in this `BS::multi_future` are valid. * * @return `true` if all futures are valid, `false` if at least one of the futures is not valid. */
| 507 | * @return `true` if all futures are valid, `false` if at least one of the futures is not valid. |
| 508 | */ |
| 509 | [[nodiscard]] bool valid() const noexcept |
| 510 | { |
| 511 | bool is_valid = true; |
| 512 | for (const std::future<T>& future : *this) |
| 513 | is_valid = is_valid && future.valid(); |
| 514 | return is_valid; |
| 515 | } |
| 516 | |
| 517 | /** |
| 518 | * @brief Wait for all the futures stored in this `BS::multi_future`. |
nothing calls this directly
no outgoing calls
no test coverage detected