kindi


A Dependency Injection library for C++

This is a library wannabe, still in pre-alpha stage, you've been warned. It has many flaws and not so much features at the moment, but it might evolve to something better :)

The goals were primarily to learn about dependency injection and template meta-programming. It is heavily inspired by google guice (java) and dicpp (a great C++ library for dependency injection).

It is distributed under the Boost Software License, Version 1.0.

--

Current set of features: * dependency injection (no kidding!) * automatic type discovery (kindi will automatically declare types it finds when you're declaring a root type) * providers (a type can ask for a provider instead of an instance of an other type) * interface -> implementation bindings (those can be chained) * instance bindings * exception safety

Current set of missing features: * annotations * provider binding * scopes * thread safety

--

kinDI -- the library kind enough to give you what you ask for

Project Information

The project was created on Jul 21, 2011.

Labels:
CPlusPlus dependencyinjection IOC