|
|
|
|
|
by dkersten
23 days ago
|
|
In C++, you can’t have an interface without virtual unless you jump through hoops. In rust, you can have traits without dyn. That is, static polymorphism is the default in rust, while in c++ you must jump through hoops for it (eg, see the excellent EnTT’s static polymorphism companion library). |
|