move

move#

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

◆ move()

template<class T >
constexpr STDGPU_HOST_DEVICE std::remove_reference_t< T > && stdgpu::move ( T &&  t)
constexprnoexcept

Moves a value.

Template Parameters
TThe type of the value
Parameters
[in]tA value
Returns
The moved value