Oddbean new post about | logout
 @eb948c00 yeeeah. I would be surprised if whoever wrote that understood what they were doing.
Really that code is just doing...

MyScaryClass::someFunction()

static class functions are exactly like "regular" C style functions - there's no hidden / implicit this pointer passed to it.

afiak the whole null pointer bit basically does nothing other than scope the (static) function to class so the compiler can resolve it - honestly, I'm surprised it complies though!