empty

empty#

stdgpu: stdgpu::mutex_array::empty
stdgpu Latest
Efficient STL-like Data Structures on the GPU

◆ empty()

template<typename Block = mutex_default_type, typename Allocator = safe_device_allocator<Block>>
STDGPU_HOST_DEVICE bool stdgpu::mutex_array< Block, Allocator >::empty ( ) const
noexcept

Checks if this object is empty.

Returns
True if this object is empty, false otherwise