pop_front

pop_front#

stdgpu: stdgpu::deque::pop_front
stdgpu Latest
Efficient STL-like Data Structures on the GPU

◆ pop_front()

template<typename T , typename Allocator = safe_device_allocator<T>>
STDGPU_DEVICE_ONLY pair< T, bool > stdgpu::deque< T, Allocator >::pop_front ( )

Removes and returns the current element from front of the object.

Returns
The currently popped element and true if not empty, an empty element T() and false otherwise