| 430 | template <typename E> |
| 431 | requires TEnumTraits<E>::IsBitEnum |
| 432 | constexpr int PopCount(E value) |
| 433 | { |
| 434 | return std::popcount(static_cast<std::underlying_type_t<E>>(value)); |
| 435 | } |
| 436 | |
| 437 | //////////////////////////////////////////////////////////////////////////////// |
| 438 |