libstdc++
GNU C++ library
Loading...
Searching...
No Matches

◆ destroy()

template<typename _Up>
constexpr void std::allocator_traits< allocator< void > >::destroy ( allocator_type & ,
_Up * __p )
inlinestaticconstexprnoexcept

Destroy an object of type _Up.

Parameters
__aAn allocator.
__pPointer to the object to destroy

Invokes the destructor for *__p.

Definition at line 857 of file bits/alloc_traits.h.

859 { std::_Destroy(__p); }
constexpr void _Destroy(_ForwardIterator __first, _ForwardIterator __last)
Uniform interface to all allocator types.

References std::_Destroy().

Here is the call graph for this function: