Make sure to remember #include <array>
#include <array>
But if you don't include any standard headers, you should get asimpler error about std being undefined.
std
If #include <array> does not work, as it did not for me, then use #include <vector>. I am a novice and cannot explain why this is, so my apologies if you are confused.
#include <vector>