erase

erase#

stdgpu: stdgpu::vector::erase
stdgpu Latest
Efficient STL-like Data Structures on the GPU

◆ erase() [1/2]

template<typename T , typename Allocator = safe_device_allocator<T>>
void stdgpu::vector< T, Allocator >::erase ( device_ptr< const T >  begin,
device_ptr< const T >  end 
)

Deletes the given range from the container.

Parameters
[in]beginThe begin of the range
[in]endThe end of the range
Note
end must be equal to device_end()