다음을 통해 공유


allocator_traits::deallocate 메서드

Static method that uses a specified allocator to deallocate a specified number of objects.

static void deallocate(Alloc al,
    pointer ptr, size_type count);

매개 변수

  • al
    An allocator object.

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

  • count
    The number of objects to deallocate.

설명

이 메서드에서는 al.deallocate(ptr, count)를 호출합니다.

This method throws nothing.

요구 사항

헤더 <memory>

네임스페이스: std

참고 항목

참조

allocator::deallocate

allocator_traits 클래스