Run Travis CI tests with the latest versions of GCC, Clang, Ubuntu.
7 files changed
tree: 8a221efb52caf3395530414069383b690dc9d21a
  1. configuration/
  2. examples/
  3. extras/
  4. include/
  5. src/
  6. test_package/
  7. tests/
  8. .clang-format
  9. .gitignore
  10. .travis.yml
  11. appveyor.yml
  12. BUILD
  13. CMakeLists.txt
  14. conanfile.py
  15. CONTRIBUTING.md
  16. COPYING
  17. README.md
README.md

Build Status Build status Coverity Scan Status CII Best Practices

Fruit is a dependency injection framework for C++, loosely inspired by the Guice framework for Java. It uses C++ metaprogramming together with some 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.