std::indirect<T, Allocator>:: ~indirect
From cppreference.net
C++
Memory management library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::indirect
| Member functions | ||||
|
indirect::~indirect
|
||||
| Observers | ||||
| Modifiers | ||||
| Non-member functions | ||||
| Deduction guides | ||||
| Helper classes | ||||
|
constexpr
~indirect
(
)
;
|
(C++26以降) | |
* this が値を持っている場合、所有されているオブジェクトを std:: allocator_traits < Allocator > :: destroy を使用して破棄し、その後ストレージを解放します。
それ以外の場合、何もしません。
T
が
不完全型
である場合、プログラムは不適格(ill-formed)です。