push_back

push_back#

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

◆ push_back()

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

Adds the element to the end of the object.

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