front_insert_iterator< Container >

front_insert_iterator< Container >#

stdgpu: stdgpu::front_insert_iterator< Container >
stdgpu Latest
Efficient STL-like Data Structures on the GPU

Detailed Description

template<typename Container>
class stdgpu::front_insert_iterator< Container >

An output iterator which inserts elements into a container using push_front.

Template Parameters
ContainerThe type of the container

Public Types

using container_type = Container
 

Public Member Functions

STDGPU_HOST_DEVICE front_insert_iterator (Container &c)