Share via


scoped_allocator_adaptor::deallocate Method

Deallocates objects by using the outer allocator.

void deallocate(pointer ptr, size_type count);

Parameters

  • ptr
    A pointer to the starting location of the objects to be deallocated.

  • count
    The number of objects to deallocate.

Requirements

Header: <scoped_allocator>

Namespace: std

See Also

Reference

scoped_allocator_adaptor Class

allocator_traits::deallocate Method