vc++ 2010 "array is not a member of std" error
arrays, c++, c++11, stl, visual-studio-2010
Solution
You need to include the `<array>` header.
Problem
The following bit of C++11 code: ``` std::array<float, 3> A; ``` Gets an error message: ``` array is not a member of std. ``` In Visual Studio, the word "array" is blue, indicating it is a keyword. That is an extension for CLI. I thought I fixed it once before by going to Properties/C C++/Language and setting "disable language extensions" to Yes. I also have Properties/General set to No Common Language Support. Still no joy. How can I make program work disregarding of the visibility of `array` in the editor as a keyword?