insert

insert#

stdgpu: stdgpu::unordered_map::insert
stdgpu Latest
Efficient STL-like Data Structures on the GPU

◆ insert() [3/3]

template<typename Key , typename T , typename Hash = hash<Key>, typename KeyEqual = equal_to<Key>, typename Allocator = safe_device_allocator<pair<const Key, T>>>
template<typename ValueIterator , STDGPU_DETAIL_OVERLOAD_IF(detail::is_iterator_v< ValueIterator >) >
void stdgpu::unordered_map< Key, T, Hash, KeyEqual, Allocator >::insert ( ValueIterator  begin,
ValueIterator  end 
)

Inserts the given range of elements into the container.

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