Remove C++17 extension warning from clang; #1535
- Switch off `nodiscard` for clang unless C++17 is detected. - Detect C++ standard before the switch.
Showing
Please register or sign in to comment
- Switch off `nodiscard` for clang unless C++17 is detected. - Detect C++ standard before the switch.