Files
cppdraft_translate/cppdraft/container/node/dtor.md
2025-10-25 03:02:53 +03:00

22 lines
745 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[container.node.dtor]
# 23 Containers library [[containers]](./#containers)
## 23.2 Requirements [[container.requirements]](container.requirements#container.node.dtor)
### 23.2.5 Node handles [[container.node]](container.node#dtor)
#### 23.2.5.3 Destructor [container.node.dtor]
[🔗](#itemdecl:1)
`constexpr ~node-handle();
`
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/containers.tex#L2470)
*Effects*: If ptr_ != nullptr, destroys the value_type subobject
in the container_node_type object pointed to by ptr_ by callingator_traits::destroy, then deallocates ptr_ by callingator_traits::template rebind_traits<container_node_type>::deallocate[.](#1.sentence-1)