thrust::try_unwrap_contiguous_iterator#

template<typename Iterator>
auto thrust::try_unwrap_contiguous_iterator(
Iterator it,
)#

Takes an iterator and, if it is contiguous, unwraps it to the raw pointer it represents.

Otherwise returns the iterator unmodified.