#include <vector>
using namespace std;
vector<int[60]> v;
int s[60];
v.push_back(s);
This code in Visual Studio 2015 community report a compile error:
Error (active) no instance of overloaded function "std::vector<_Ty, _Alloc>::push_back [with _Ty=int [60], _Alloc=std::allocator]" matches the argument list
Error C2664 'void std::vector>::push_back(const int (&)[60])': cannot convert argument 1 from 'int' to 'int (&&)[60]'
int[10] s;
is a syntax error you should get a problem on that line too. Alsov.push_back(s)
must occur inside a function – M.M