Netbeans marks any instances of forward_list in my C++ application with a red line (The error is Unable to resolve identifier forward_list). Netbeans also does not recognize any methods that the forward_list instances have.
My program, however, compiles just fine. Furthermore, autocomplete for #include <forward_list> works.
How do I tell Netbeans to recognize the C++ standard library while checking for syntax and for autocomplete aside from preprocessor includes?
Mostly stolen from another post, but changing the standard to
C++11should fix this:Project -> Properties -> Code Assistance -> C++ Standard -> C++11.