erase

erase#

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

◆ erase() [3/3]

template<typename Key , typename Hash = hash<Key>, typename KeyEqual = equal_to<Key>, typename Allocator = safe_device_allocator<Key>>
template<typename KeyIterator , STDGPU_DETAIL_OVERLOAD_IF(detail::is_iterator_v< KeyIterator >) >
void stdgpu::unordered_set< Key, Hash, KeyEqual, Allocator >::erase ( KeyIterator  begin,
KeyIterator  end 
)

Deletes the values with the given range of keys from the container.

Parameters
[in]beginThe begin of the range
[in]endThe end of the range