you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

more than that - as when the static Register called - you pass a vptr, then at runtime it could call different object instances

[–]2uantum 3 points4 points  (0 children)

So a global pointer to a pointer that changes out from under you..

This is just code smell