empty

empty#

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

◆ empty()

template<typename T , typename ContainerT = deque<T>>
STDGPU_HOST_DEVICE bool stdgpu::stack< T, ContainerT >::empty ( ) const

Checks if the object is empty.

Returns
True if the object is empty, false otherwise