I wrote a library that emulates dyn traits from Rust in C++

96 points DavidDinamit

The way dynamic polymorphism is done in Rust is really interesting and elegant, so I thought I'd give C++ developers a try, maybe they'll get to Rust faster and understand the concepts more easily!
https://github.com/kelbon/AnyAny