It seems that for Ubuntu 22.04, there is a chance that some of the standard libraries cannot be resolved properly.
It is due to some issue with clangd. Although the default g++ is looking for g++-11 libraries, clangd looks for the g++-12 libraries.
To resolve, simply run
More info can be found clangd/clangd#1394.
It seems that for Ubuntu 22.04, there is a chance that some of the standard libraries cannot be resolved properly.
It is due to some issue with clangd. Although the default g++ is looking for g++-11 libraries, clangd looks for the g++-12 libraries.
To resolve, simply run
More info can be found clangd/clangd#1394.