Debian – What is the correct way to check for C++20 features on G++
My understanding was the best practice is: #if __cplusplus >= 202002L // code #endif However, it does not work, even though I do compile with -std=c++20. Also, the output of g++ -x c++ -std=c++20 -dM -E - </dev/null | grep…