0

Is vector<int[3]> a; valid C++ ?

Can this cause problems?

Dietrich Epp
  • 205,541
  • 37
  • 345
  • 415
yuexia_wrp
  • 51
  • 6

1 Answers1

-1

I tried just now...

It can't be compiled successfully on VS.

But if I only code vector<int[3]> a;, and don't use this vector, it can be compiled successfully.

yuexia_wrp
  • 51
  • 6