thrust::addressof

Defined in thrust/addressof.h

template<typename T>
T *thrust::addressof(T &arg)

Obtains the actual address of the object or function arg, even in presence of overloaded operator&.