commit | 3bdd0eb5dc987778935f55e593823d0880d1e518 | [log] [tgz] |
---|---|---|
author | Android Build Role Account android-build-prod <android-build-team-robot@google.com> | Sun Sep 29 13:18:19 2019 +0000 |
committer | Android Build Role Account android-build-prod <android-build-team-robot@google.com> | Sun Sep 29 13:18:19 2019 +0000 |
tree | e708dd39dc9b6ffd7ab31d172f43344313e1d939 | |
parent | aca36c266dc79ab057b07d75330c0b5b6b9ef640 [diff] | |
parent | ecc5acceb1cc387d9686f1a9d88598541fcbe37d [diff] |
Snap for 5907899 from ecc5acceb1cc387d9686f1a9d88598541fcbe37d to r-keystone-qcom-release Change-Id: I6bce0c063f8104e555fe9fb2d8d747eb28c23733
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.