0

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

Can this cause problems?

Dietrich Epp
  • 194,726
  • 35
  • 326
  • 406
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