Add assertions to help diagnose an error caught by Asan when using libc++ and Clang 3.8.
1 file changed
tree: 3d9ece5f698a4ef6f18c09b31c5fddf43076fe29
  1. configuration/
  2. doc/
  3. examples/
  4. extras/
  5. include/
  6. scripts/
  7. src/
  8. tests/
  9. .gitignore
  10. .travis.yml
  11. BUILD
  12. CMakeLists.txt
  13. COPYING
  14. README.md
  15. WORKSPACE
README.md

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