stdgpu: stdgpu::destroy_n
stdgpu Latest
Efficient STL-like Data Structures on the GPU
|
|
◆ destroy_n()
template<typename ExecutionPolicy , typename Iterator , typename Size , STDGPU_DETAIL_OVERLOAD_IF(is_execution_policy_v< remove_cvref_t< ExecutionPolicy > >) >
Iterator stdgpu::destroy_n |
( |
ExecutionPolicy && |
policy, |
|
|
Iterator |
first, |
|
|
Size |
n |
|
) |
| |
Destroys the range of values.
- Template Parameters
-
ExecutionPolicy | The type of the execution policy |
Iterator | The iterator type of the values |
Size | The size type |
- Parameters
-
[in] | policy | The execution policy, e.g. host or device |
[in] | first | An iterator to the begin of the value range |
[in] | n | The number of elements in the value range |
- Returns
- An iterator to the end of the value range
|