insert — stdgpu Latest documentation (original) (raw)
insert#
stdgpu: stdgpu::unordered_map::insert
stdgpu Latest
Efficient STL-like Data Structures on the GPU
- stdgpu
- unordered_map
| | ◆ insert() [1/3] template<typename Key , typename T , typename Hash = hash, typename KeyEqual = equal_to, typename Allocator = safe_device_allocator<pair<const Key, T>>> STDGPU_DEVICE_ONLY pair< iterator, bool > stdgpu::unordered_map< Key, T, Hash, KeyEqual, Allocator >::insert ( const value_type & value) Inserts the given value into the container. Parameters ReturnsAn iterator to the inserted pair and true if the insertion was successful, end() and false otherwise | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |