weizhengwei / fruit

Fruit, a dependency injection framework for C++

Home Page:https://sites.google.com/site/fruitlib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fruit is a dependency injection framework for C++, loosely inspired by the Guice framework for Java. It uses C++ metaprogramming together with some new C++11 features to detect most injection problems at compile-time. It allows to split the implementation code in "components" (aka modules) that can be assembled to form other components. From a component with no requirements it's then possible to create an injector, that provides an instance of the interfaces exposed by the component.

See the Fruit website for more information, including installation instructions, tutorials and reference documentation.

About

Fruit, a dependency injection framework for C++

https://sites.google.com/site/fruitlib

License:Apache License 2.0


Languages

Language:C++ 94.8%Language:CMake 2.9%Language:Shell 1.8%Language:C 0.4%Language:Makefile 0.2%