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

◆ deallocate()

template<typename _Tp>
constexpr void std::allocator_traits< allocator< _Tp > >::deallocate ( allocator_type & __a,
pointer __p,
size_type __n )
inlinestaticconstexpr

Deallocate memory.

Parameters
__aAn allocator.
__pPointer to the memory to deallocate.
__nThe number of objects space was allocated for.

Calls a.deallocate(p, n)

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

689 { __a.deallocate(__p, __n); }
static constexpr void deallocate(_Alloc &__a, pointer __p, size_type __n)
Deallocate memory.
Uniform interface to all allocator types.