Is there any problem with my code ?
std::vector weights; int weight[2] = {1,2}; weights.push_back(weight);
It can\'t be compi
To instantiate the vector, you need to supply a type, but int[2] is not a type, it's a declaration.