Template Function nvcv::cuda::math::detail::swap

Function Documentation

Warning

doxygenfunction: Unable to resolve function “nvcv::cuda::math::detail::swap” with arguments “(T&, T&)”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 37] template<class T> constexpr __host__ __device__ void swap (T &a, T &b) ————————————-^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 48] template<class T> constexpr __host__ __device__ void swap (T &a, T &b) ————————————————^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 48] template<class T> constexpr __host__ __device__ void swap (T &a, T &b) ————————————————^