I wonder what is the C++ way of using dependency injection? Is that using templates or polymorphic classes? Consider the following code,I wonder what is the C++ way of using dependenc
I wonder what is the C++ way of using dependency injection? Is that using templates or polymorphic classes? Consider the following code,I wonder what is the C++ way of using dependenc