std::polymorphic<T, Allocator>::~polymorphic
From cppreference.com
< cpp | memory | polymorphic
C++
Memory management library
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::polymorphic
| Member functions | ||||
polymorphic::~polymorphic | ||||
| Observers | ||||
| Modifiers | ||||
| Non-member functions | ||||
| constexpr ~polymorphic(); |
(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.