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
가
불완전한 타입
인 경우, 프로그램은 형식에 맞지 않습니다.