c++ 11 (headers) dependency injection