commit | 4db2458890afa3c5da8a2bfc679abd069880801a | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon Dec 20 11:02:17 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon Dec 20 11:02:17 2021 +0000 |
tree | 61d841dc12f982b1afaf7956176f05df58a9d98c | |
parent | ac6616dbf0fca1290d4f6cf6d30b66b76e85bc0e [diff] | |
parent | 324de07f2769d4d8c53ba0cd8369045adeb7e12c [diff] |
Snap for 8014993 from 324de07f2769d4d8c53ba0cd8369045adeb7e12c to s-keystone-qcom-release Change-Id: I1d149efe4dcb085ce534cd904e8c1f3dec3f5d98
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.