I am running ubuntu 16.04 with CUDA 10(GCC 5.4) and I wanted to build a application with some c++14 functions. Which after selecting c++14 under Dialect, build and run successfully. But I am not able get indexing(IntelliSense) in c++14 functions. After some exploring, I found that “__cplusplus” preprocessor value is set to “199711L”, but I think for getting indexing for these functions, I need at least “201103L” value for “__cpluplus”.
I also tried setting __cplusplus explicitly which resulted in some build errors.
Can somebody tell me how to get indexing in these functions?