MCPcopy Create free account
hub / github.com/bshoshany/thread-pool / no_flags_set

Function no_flags_set

tests/BS_thread_pool_test.cpp:533–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

531 */
532template <typename T>
533bool no_flags_set(const T& flags)
534{
535 return std::none_of(flags.begin(), flags.end(),
536 [](const bool flag)
537 {
538 return flag;
539 });
540}
541
542// =======================================
543// Functions for generating random numbers

Callers 2

check_wait_blocksFunction · 0.85
check_purgeFunction · 0.85

Calls 1

endMethod · 0.80

Tested by

no test coverage detected