On Wednesday, 25 May 2022 at 05:56:28 UTC, Steven Schveighoffer wrote:

It's a case where the compiler can't divine what you were thinking when you wrote that code ;)

I see not in all cases but in mine. If the compiler sees the function isn't callable without arguments and it is inside an if-statement or `assert()` then it could at least suggest a pointer or ask: are you dumb? ;-)


Reply via email to