commit | fe767c45f3ea49dcaa25143e87ac28694e92819a | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Sat Feb 20 15:18:02 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sat Feb 20 15:18:02 2021 +0000 |
tree | 07e3b612835cb19723c49ba24f667bf33efd3389 | |
parent | 251e883e3e52a6f706833803c9f3043dfb2c9583 [diff] | |
parent | 9d8c37008f8d22277aee69751f31a8ec05b4ad61 [diff] |
[automerger skipped] Mark ab/7061308 as merged in stage. am: 541e47f048 -s ours am: 9d8c37008f -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: Iaa9ed21f5e566b062b4fef55a75396e57a51e495
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.