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(); |
(since C++26) | |
If *this is not valueless, destroys the owned object using std::allocator_traits<Allocator>::destroy and then the storage is deallocated.
Otherwise, does nothing.
If T
is an incomplete type, the program is ill-formed.