host_cbegin

host_cbegin#

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

◆ host_cbegin() [1/2]

template<typename C >
auto stdgpu::host_cbegin ( const C &  host_container) -> decltype(host_begin(host_container))

Creates a contant pointer to the begin of the given host container.

Template Parameters
CThe type of the container
Parameters
[in]host_containerAn array
Returns
A constant pointer to the begin of the host container