Skip to content

cnsuhao/fruit

 
 

Repository files navigation

Build Status Coverity Scan Status

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 wiki for more information, including installation instructions, tutorials and reference documentation.

About

Fruit, a dependency injection framework for C++

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 63.4%
  • Python 28.1%
  • TeX 2.8%
  • Shell 2.7%
  • CMake 2.4%
  • C 0.4%
  • Makefile 0.2%