The downside is that the this
pointer will be invalid in the member function since the caller isn’t pushing that to the stack. So then you might as well make it a static member function to ensure the this
pointer isn’t used, then the cast isn’t necessary.
1 Like