[Solved] std::array as element type of another standard container? [closed]


everything seems to be ok with this code.

#include <vector>
#include <array>

int main() {
    std::vector< std::array<int,8> > output;
    output.resize(8);
    return 0;
}

Ideone test example

Have you added the #include <array> line?

5

solved std::array as element type of another standard container? [closed]