push — stdgpu Latest documentation (original) (raw)

capacity const_reference container_type createDeviceObject destroyDeviceObject empty full index_type pop push queue reference size valid value_type push() template<typename T , typename ContainerT = deque> STDGPU_DEVICE_ONLY bool stdgpu::queue< T, ContainerT >::push ( const T & element) Add the element to the end of the queue. Parameters [in]elementAn element ReturnsTrue if not full, false otherwise