title: Do I need a framework to use dependency injection?
body: <p>I want to start practising dependency injection in C++ to make my code more testable, however after some googling I found articles which say I must use some framework for dependency injection. Is it so? Why does one need such a framework? Why can't I inject dependencies either by subclassing and passing dependencies in constructor by reference or pointer or by passing the class I want to use as dependency as template parameter?</p>