MCPcopy Create free account
hub / github.com/boostorg/compute / any

Method any

include/boost/compute/container/dynamic_bitset.hpp:192–197  ·  view source on GitHub ↗

Returns \c true if any bit in the bitset is set (i.e. '1').

Source from the content-addressed store, hash-verified

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

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 3

any_ofFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64