36 namespace Gecode {
namespace Support {
51 operator bool(
void)
const;
56 n.store(n0,std::memory_order_release);
60 (void)
n.fetch_add(1U,std::memory_order_relaxed);
64 return n.fetch_sub(1U,std::memory_order_acq_rel) == 1U;
67 RefCount::operator bool(
void)
const {
68 return n.load(std::memory_order_acquire) > 0U;