I am currently learning C++ but dont know how to configure clangd to not display these errors as I think it is trying to lint a newer C++ standard. The program compiles and runs fine so the erroneous linting is off-putting.

Hope this is the appropriate channel to ask for help. Have a nice day!