> when the only "magic" was basic virtual functions
What's "magic" about structs of function pointers? This is a classic idiom in C, just given a specialized syntax in C++.
What's "magic" about structs of function pointers? This is a classic idiom in C, just given a specialized syntax in C++.