| 499 | */ |
| 500 | template <typename T, typename V> |
| 501 | bool all_flags_equal(const T& flags, const V& value) |
| 502 | { |
| 503 | return std::all_of(flags.begin(), flags.end(), |
| 504 | [&value](const auto& flag) |
| 505 | { |
| 506 | return flag == value; |
| 507 | }); |
| 508 | } |
| 509 | |
| 510 | /** |
| 511 | * @brief Check if all of the flags in a container are set. |
no test coverage detected