operator()

operator()#

stdgpu: stdgpu::identity::operator()
stdgpu Latest
Efficient STL-like Data Structures on the GPU

◆ operator()()

template<typename T >
STDGPU_HOST_DEVICE T && stdgpu::identity::operator() ( T &&  t) const
noexcept

Returns the given value.

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