Go and Rust — objects without class
Go and Rust — objects without class
Posted May 23, 2013 2:25 UTC (Thu) by Cyberax (✭ supporter ✭, #52523)In reply to: Go and Rust — objects without class by neilbrown
Parent article: Go and Rust — objects without class
>The C++ way requires a single vtable. I don't know how multiple interfaces work with that.
Reserve the first slot in the vtable for interface lookup function, kinda like QueryInterface in COM.
Reserve the first slot in the vtable for interface lookup function, kinda like QueryInterface in COM.