Loading... (original) (raw)

The C4351 warning is generated for array initializers in a constructor initializer list. It warns that the behavior of such initializers changed (circa VS 2005?) from an incorrect to a correct (per standard) implementation. The warning is so one can audit old code to see if it depended on the old, incorrect, implementation. We don't have that problem; instead, we get warnings for correct code that will behave as expected.