Spec-Zone.ru › C++

std::polymorphic<T, Allocator>::~polymorphic

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.

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/memory/polymorphic/~polymorphic

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API