commit | ac6616dbf0fca1290d4f6cf6d30b66b76e85bc0e | [log] [tgz] |
---|---|---|
author | Android Build Role Account android-build-prod <android-build-team-robot@google.com> | Sat May 15 10:01:51 2021 +0000 |
committer | Android Build Role Account android-build-prod <android-build-team-robot@google.com> | Sat May 15 10:01:51 2021 +0000 |
tree | 61d841dc12f982b1afaf7956176f05df58a9d98c | |
parent | d2f0b9efd758006200dc5ef42731387a6169fc3a [diff] | |
parent | 503d258633972a7c105c39bd76b325c3a1cafb35 [diff] |
Snap for 7364285 from 503d258633972a7c105c39bd76b325c3a1cafb35 to s-keystone-qcom-release Change-Id: I5c69323988272bd0b77c8b21c74ac51a89dcc3b6
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.