Did you ever ask why std::shared_ptr uses type erasure? What does this have to do with dependency injection? At #usingstdcpp 2023 Jan Krasinsiki was discussing this topic Dependency injection: Why does shared ptr use type erasure? youtu.be/sin8u6fS3DE
0
4
8
1K
2