Visual Studio Code – this declaration has no storage class or type specifier – compiler not detecting consteval
I have a question about why I'm getting the two problems, this declaration has no storage class or type specifier, and expected a ';' ln 3 col 11, of the code: Main.cpp: #include <iostream> consteval int get_value(){ return 3; }…