You might wish to file a bug requesting whatever behavior you think makes sense.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Does nvcc support fold expression in C++17? | 3 | 1221 | October 12, 2021 | |
| template functions inside structs nvcc drops __device__ declaration? | 0 | 2586 | November 5, 2007 | |
| compilation error with templated kernel | 2 | 2106 | February 9, 2011 | |
| Variadic templates? | 4 | 1636 | March 25, 2013 | |
| Attempting to use/understand how to use expression templates in CUDA code | 1 | 735 | July 22, 2013 | |
| strange error in host code | 5 | 11384 | January 23, 2008 | |
| NVCC and C++ question about C++ usage in CUDA | 2 | 5204 | December 19, 2007 | |
| CUDA 2.0, 100 errors with C++ | 20 | 16533 | July 9, 2008 | |
| Unresolved externals in CUDA expression template library under Visual Studio 2010 | 3 | 1881 | April 4, 2013 | |
| function pointers | 8 | 10768 | June 15, 2007 |