Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Wordsmithing and double-checking behavior

...

The noncompliant code example does not emit a diagnostic when compiled with the /Wall switch in Microsoft Visual Studio 2013 2015 on x86, resulting in off being 4, likely due to the presence of a vtable for type D.

...

The noncompliant code example does not emit a diagnostic when compiled with the /Wall switch in Microsoft Visual Studio 2015 on x86, resulting in off being a large value , likely representing the offset between the null pointer address 0 and the address of the static variable S::i.

...