Hypodermic is an IoC container for C++. It provides dependency injection to your existing design.