MCPcopy Create free account
hub / github.com/Gecode/gecode / operator bool

Method operator bool

gecode/support/ref-count.hpp:66–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 return n.fetch_sub(1U,std::memory_order_acq_rel) == 1U;
65 }
66 forceinline
67 RefCount::operator bool(void) const {
68 return n.load(std::memory_order_acquire) > 0U;
69 }
70
71}}
72

Callers

nothing calls this directly

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected