Upgrade google-fruit to 70f7c06e305ad7c9e4e99b87672aaa1061d914d6 am: e6d1a91e25 am: e4f9003db0 am: 58176bd596

Original change: https://android-review.googlesource.com/c/platform/external/google-fruit/+/1514881

Change-Id: I5f0607a746d6e516cebbb4d82107bd31b71ceed2
tree: 0ac1dd6234fe676c0795748f7708e618dc080a6e
  1. cmake-modules/
  2. configuration/
  3. examples/
  4. extras/
  5. include/
  6. src/
  7. test_package/
  8. tests/
  9. .clang-format
  10. .gitattributes
  11. .gitignore
  12. .travis.yml
  13. Android.bp
  14. appveyor.yml
  15. BUILD
  16. CMakeLists.txt
  17. conanfile.py
  18. CONTRIBUTING.md
  19. COPYING
  20. LICENSE
  21. METADATA
  22. MODULE_LICENSE_APACHE2
  23. OWNERS
  24. 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.