destroy

destroy#

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

◆ destroy()

template<typename ExecutionPolicy , typename Iterator , STDGPU_DETAIL_OVERLOAD_IF(is_execution_policy_v< remove_cvref_t< ExecutionPolicy > >) >
void stdgpu::destroy ( ExecutionPolicy &&  policy,
Iterator  first,
Iterator  last 
)

Destroys the range of values.

Template Parameters
ExecutionPolicyThe type of the execution policy
IteratorThe iterator type of the values
Parameters
[in]policyThe execution policy, e.g. host or device
[in]firstAn iterator to the begin of the value range
[in]lastAn iterator to the end of the value range