deallocate — stdgpu Latest documentation (original) (raw)

allocate allocate allocate_filled allocator_type const_pointer const_void_pointer construct deallocate deallocate_filled destroy difference_type index_type is_always_equal max_size pointer propagate_on_container_copy_assignment propagate_on_container_move_assignment propagate_on_container_swap rebind_alloc rebind_traits select_on_container_copy_construction value_type void_pointer deallocate() template static void stdgpu::allocator_traits< Allocator >::deallocate ( Allocator & a, pointer p, index_type n ) static Deallocates the given memory block. Parameters [in]aThe allocator to use [in]pA pointer to the memory block [in]nThe number of allocated elements (must match the size during allocation)