commit | c93bd61c66abb28f4242763556a6540ae020d955 | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Tue Sep 22 19:03:03 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Sep 22 19:03:03 2020 +0000 |
tree | 196bf451ec7a656bcbaaeffce735fe19e5c7b66f | |
parent | f6e6c94bb2f3db4cf2942188df546e7f97ccea24 [diff] | |
parent | 5fc3332375d47766646a7f0789311d3ec3eefeda [diff] |
Upgrade google-fruit to 928458857f4b85a0016c2d724486343b4660cb46 am: 873eb760e8 am: efde60e714 am: dc3aaf3620 am: 5fc3332375 Original change: https://android-review.googlesource.com/c/platform/external/google-fruit/+/1433213 Change-Id: Ia606d243d5c4dd78084f3f95049866affc4f445c
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.