From e87b5a1e8aa9c850310721859f0f8fc95f0ebd3a Mon Sep 17 00:00:00 2001 From: Aryan Salmanpour Date: Tue, 9 Jul 2019 23:05:04 -0400 Subject: [PATCH] Fix a compilation error when templated operator<< fails if 'U' type is std::ostream. (#1209) --- include/hip/hcc_detail/hip_vector_types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/hip/hcc_detail/hip_vector_types.h b/include/hip/hcc_detail/hip_vector_types.h index 07908c71a4..953e4eb5f8 100644 --- a/include/hip/hcc_detail/hip_vector_types.h +++ b/include/hip/hcc_detail/hip_vector_types.h @@ -738,6 +738,7 @@ THE SOFTWARE. typename T, unsigned int n, typename U, + typename std::enable_if::value>::type, typename std::enable_if{}>* = nullptr> inline __host__ __device__ HIP_vector_type operator<<(