tag | 775c2ef86b08920010bfcc97186671d33020e6a0 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Sat Oct 01 12:35:27 2022 -0700 |
object | 87849e475eaac23d7b85bddabbaf1293f80333f9 |
aml_go_swc_330913000
commit | 87849e475eaac23d7b85bddabbaf1293f80333f9 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Wed Jun 02 16:49:24 2021 +0000 |
committer | Xin Li <delphij@google.com> | Wed Jun 02 16:49:24 2021 +0000 |
tree | 61d841dc12f982b1afaf7956176f05df58a9d98c | |
parent | c8d7066c32ffa62ff243e107c0ca596abfaf7f56 [diff] | |
parent | dc953bece52b53bac740d46d32c74be1a4cf1b7c [diff] |
Merge sc-mainline-prod Bug: 189946434 Change-Id: Ie5193cbb7d784f92504547ff68d1324219acc8b1
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.