thrust::square< void >

Defined in thrust/functional.h

template<>
struct square<void>

Public Types

using is_transparent = void

Public Functions

template<typename T>
inline constexpr T operator()(const T &x) const noexcept(noexcept(x * x))