commit | 8ea6352af1026eef2e870cec41b817c38f91a60f | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Oct 28 17:24:29 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Oct 28 17:24:29 2021 +0000 |
tree | 61d841dc12f982b1afaf7956176f05df58a9d98c | |
parent | 503d258633972a7c105c39bd76b325c3a1cafb35 [diff] | |
parent | 9a224dcc82cd0d515eedd586e787e6527a63d4cb [diff] |
Snap for 7862349 from 9a224dcc82cd0d515eedd586e787e6527a63d4cb to t-keystone-qcom-release Change-Id: Idd8f8f4db4e9c6105bdc1efdb515ddd1cc6a1ade
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.