MCPcopy Create free account
hub / github.com/Gecode/gecode / all

Method all

gecode/support/bitset-base.hpp:293–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291#endif
292 }
293 forceinline bool
294 BitSetData::all(void) const {
295 return bits == ~static_cast<Base>(0U);
296 }
297 forceinline bool
298 BitSetData::all(unsigned int i) const {
299 const Base mask = (static_cast<Base>(1U) << i) - static_cast<Base>(1U);

Callers 2

relaxFunction · 0.45
statusMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected