cpp-docs icon indicating copy to clipboard operation
cpp-docs copied to clipboard

Update C2182 error reference

Open Rageking8 opened this issue 4 months ago • 3 comments

  • Update error message to the new one (introduced in MSVC v19.32 VS17.2 as per godbolt & image)
  • Augment the remarks by mentioning void arrays and pointers to void
  • Fix example as the old one no longer emits C2182 (it now emits the newer C7683 for reference to void)
  • Update metadata

Rageking8 avatar Aug 22 '25 09:08 Rageking8