Hacker News new | ask | show | jobs
by pcwalton 4050 days ago
There are also no virtual methods with struct composition. If B embeds A, "upcasting" an instance of B to A will not allow you to call any methods on B.