valid

valid#

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

◆ valid() [1/2]

template<typename Key , typename T , typename Hash = hash<Key>, typename KeyEqual = equal_to<Key>, typename Allocator = safe_device_allocator<pair<const Key, T>>>
bool stdgpu::unordered_map< Key, T, Hash, KeyEqual, Allocator >::valid ( ) const

Checks if the object is valid.

Returns
True if the state is valid, false otherwise