News for hackers. Stuff that matters.
Re:Results of the Grand C++ Error Explosion Competition (2014) by Matheus28 on Monday May 06, 2024 @11:29PM (#40282073)
Isn't that what msvc does? I remember it's a little weird about when it actually checks for errors in templated code
Re:Results of the Grand C++ Error Explosion Competition (2014) by WalterBright on Tuesday May 07, 2024 @11:10PM (#40293979)
I have no idea what msvc does with this.
Re:Results of the Grand C++ Error Explosion Competition (2014) by tnh on Wednesday May 08, 2024 @05:36PM (#40302929)
Yes (at least approximately, I'm fuzzy on the details).

These days it supports both. (IIRC the default is legacy/nonstandard, you select the standard behavior with /fpermission-, and VS adds /fpermission- to newly generated projects)

https://devblogs.microsoft.com/cppblog/two-phase-name-lookup...