iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🤖

Explicitly specify C++ version in clangd

に公開

Set the following. I'll look into the differences between the two sometime.

compile_flags.txt
-std=c++20
.clangd
CompileFlags:
  Add: [-std=c++20]

Discussion