Closed labankallgren closed 1 year ago
Is there anyway to implicitly check the boolean value of a containers::bitset, or must one use containers::bitset::any() method for that? What I'd like to do:
containers::bitset::any()
containers::bitset<T> A{}; containers::bitset<T> B{}; if(A & B) { // ... }
I looked at the problem in detail, the std::bitset does not have such bool operator, it is better to really use any().
Is there anyway to implicitly check the boolean value of a containers::bitset, or must one use
containers::bitset::any()
method for that? What I'd like to do: