insert_iterator< Container >

insert_iterator< Container >#

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

Detailed Description

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

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

Template Parameters
ContainerThe type of the container

Differences to std::insert_iterator:

  • Constructor without iterator position

Public Types

using container_type = Container
 

Public Member Functions

STDGPU_HOST_DEVICE insert_iterator (Container &c)