push_front

push_front#

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

◆ push_front()

template<typename T , typename Allocator = safe_device_allocator<T>>
STDGPU_DEVICE_ONLY bool stdgpu::deque< T, Allocator >::push_front ( const T &  element)

Adds the element to the front of the object.

Parameters
[in]elementAn element
Returns
True if not full, false otherwise