valid

valid#

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

◆ valid()

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

Checks if the object is in a valid state.

Returns
True if the state is valid, false otherwise