Cannot check function address

frame frame86 at live.com
Wed May 25 06:04:10 UTC 2022


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? ;-)




More information about the Digitalmars-d-learn mailing list