back_insert_iterator< Container >

back_insert_iterator< Container >#

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

Detailed Description

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

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

Template Parameters
ContainerThe type of the container

Public Types

using container_type = Container
 

Public Member Functions

STDGPU_HOST_DEVICE back_insert_iterator (Container &c)