This commit is contained in:
2025-10-25 03:02:53 +03:00
commit 043225d523
3416 changed files with 681196 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
[hazard.pointer.syn]
# 32 Concurrency support library [[thread]](./#thread)
## 32.11 Safe reclamation [[saferecl]](saferecl#hazard.pointer.syn)
### 32.11.3 Hazard pointers [[saferecl.hp]](saferecl.hp#hazard.pointer.syn)
#### 32.11.3.2 Header <hazard_pointer> synopsis [hazard.pointer.syn]
[🔗](#header:%3chazard_pointer%3e)
namespace std {// [[saferecl.hp.base]](saferecl.hp.base "32.11.3.3Class template hazard_­pointer_­obj_­base"), class template hazard_pointer_obj_basetemplate<class T, class D = default_delete<T>> class hazard_pointer_obj_base; // [[saferecl.hp.holder]](saferecl.hp.holder "32.11.3.4Class hazard_­pointer"), class hazard_pointerclass hazard_pointer; // [[saferecl.hp.holder.nonmem]](saferecl.hp.holder.nonmem "32.11.3.4.4Non-member functions"), non-member functions hazard_pointer make_hazard_pointer(); void swap(hazard_pointer&, hazard_pointer&) noexcept;}