commit | dc3aaf3620582ce933b6f23fe1b93584bc60fce0 | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Tue Sep 22 17:50:42 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Sep 22 17:50:42 2020 +0000 |
tree | 196bf451ec7a656bcbaaeffce735fe19e5c7b66f | |
parent | 1b13f367e02e2e90a59a7e6597bf47f64a1cf105 [diff] | |
parent | efde60e7146303998a704e8604e90d27ca3f6241 [diff] |
Upgrade google-fruit to 928458857f4b85a0016c2d724486343b4660cb46 am: 873eb760e8 am: efde60e714 Original change: https://android-review.googlesource.com/c/platform/external/google-fruit/+/1433213 Change-Id: I58ec27630c20751b61ffab4fb455ba9056dc22e5
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.