Fix a compilation error when templated operator<< fails if 'U' type is std::ostream. (#1209)

Tá an tiomantas seo le fáil i:
Aryan Salmanpour údaraithe agus Maneesh Gupta tiomanta 2019-07-10 03:05:04 +00:00
1 tuismitheoir bb72dd047c
tiomantas 034e5c0311
1 comhad athraithe
+1
@@ -738,6 +738,7 @@ THE SOFTWARE.
typename T,
unsigned int n,
typename U,
typename std::enable_if<std::is_arithmetic<U>::value>::type,
typename std::enable_if<std::is_integral<T>{}>* = nullptr>
inline __host__ __device__
HIP_vector_type<T, n> operator<<(