News for hackers. Stuff that matters.
Re:Implementing UFCS for C++ in Clang by secondcoming on Monday August 03, 2020 @07:43PM (#24044843)
This is exactly what 'this' is in C++, it's a pointer to the class/struct instance and the compiler inserts it as the first parameter behind the scenes. There's no difference between a class method and a class static function that takes a pointer to a class insance as its first parameter.

There are no comments on this comment yet.