emplace_back

emplace_back#

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

◆ emplace_back()

template<typename T , typename Allocator = safe_device_allocator<T>>
template<class... Args>
STDGPU_DEVICE_ONLY bool stdgpu::deque< T, Allocator >::emplace_back ( Args &&...  args)

Adds the element constructed from the arguments to the end of the object.

Parameters
[in]argsThe arguments to construct the element
Returns
True if not full, false otherwise