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

[ROCm/clr commit: 034e5c0311]
Этот коммит содержится в:
Aryan Salmanpour
2019-07-09 23:05:04 -04:00
коммит произвёл Maneesh Gupta
родитель 4c944c9ac5
Коммит 3fb7138a61
+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<<(