make_discard_iterator
#
-
template<typename System = use_default>
inline discard_iterator<System> thrust::make_discard_iterator( - ::cuda::std::ptrdiff_t i = 0,
make_discard_iterator
creates adiscard_iterator
from an optional index parameter.See also
- Parameters:
i – The index of the returned
discard_iterator
within a range. In the default case, the value of this parameter is0
.- Returns:
A new
discard_iterator
with index as given byi
.