We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc20c1e commit 7cbf2c3Copy full SHA for 7cbf2c3
1 file changed
cxx4opencl/address_spaces.txt
@@ -600,7 +600,7 @@ void foo(T *par) {
600
// address space.
601
__private T var2; // error: conflicting address space qualifiers are provided
602
// between types '__private T' and '__global int'.
603
- __private __remove_address_space<T>::type var3; // type of var3 is __private int.
+ __private typename __remove_address_space<T>::type var3; // type of var3 is __private int.
604
}
605
606
void bar() {
0 commit comments