commit | 57fcba41471fb1663f309c7dc45fa91ef2642fdb | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Sat Feb 20 15:50:37 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sat Feb 20 15:50:37 2021 +0000 |
tree | 07e3b612835cb19723c49ba24f667bf33efd3389 | |
parent | d3de262fe5cf811c9bf49a0937f89b318531f16c [diff] | |
parent | fe767c45f3ea49dcaa25143e87ac28694e92819a [diff] |
[automerger skipped] Mark ab/7061308 as merged in stage. am: 541e47f048 -s ours am: 9d8c37008f -s ours am: fe767c45f3 -s ours am skip reason: Change-Id I130217fd2d0f5fe307adaa397e649234b3a3330b with SHA-1 58176bd596 is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I98a36ed424cc44eae18e0af7db53b7290794ab0f
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.