thrust

◆ operator+() [4/4]

template<typename T >
__host__ __device__ complex<T> thrust::operator+ ( const complex< T > &  y)

Unary plus, returns its complex argument.

Parameters
yThe complex argument.