Returns \c true if any bit in the bitset is set (i.e. '1').
| 190 | |
| 191 | /// Returns \c true if any bit in the bitset is set (i.e. '1'). |
| 192 | bool any(command_queue &queue) const |
| 193 | { |
| 194 | return any_of( |
| 195 | m_bits.begin(), m_bits.end(), lambda::_1 != block_type(0), queue |
| 196 | ); |
| 197 | } |
| 198 | |
| 199 | /// Returns \c true if all of the bits in the bitset are set to zero. |
| 200 | bool none(command_queue &queue) const |