libycxx

class

std::hazard_pointer

Scope
std
cppreference
<hazard_pointer> nearest page

Synopsis

class hazard_pointer;

Member functions

NameDeclaration
hazard_pointerconstructor · 2 overloadshazard_pointer() +1 more
~hazard_pointerdestructor~hazard_pointer()
operator=operatorhazard_pointer& operator=(hazard_pointer&& other)
emptymember functionbool empty() const
protectmember function templateT* protect(const atomic<T*>& src)
reset_protectionmember function · 2 overloadsvoid reset_protection(nullptr_t) +1 more
swapmember functionvoid swap(hazard_pointer& other)
try_protectmember function templatebool try_protect(T*& ptr, const atomic<T*>& src)