commit | 9d8c37008f8d22277aee69751f31a8ec05b4ad61 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Sat Feb 20 14:00:06 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sat Feb 20 14:00:06 2021 +0000 |
tree | 07e3b612835cb19723c49ba24f667bf33efd3389 | |
parent | 4a0f461c76997e8ad3069d1c1a7c392eda9f8aca [diff] | |
parent | 541e47f0488ec461eb34eae8799d2a45802c39cd [diff] |
[automerger skipped] Mark ab/7061308 as merged in stage. am: 541e47f048 -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: Ia426a2edd3a238fb1fd8b57c3fb251917ccf4d24
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.