commit | 92e048097c9655af450c291a320171ea861d441a | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Wed Nov 25 02:08:00 2020 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Wed Nov 25 02:08:00 2020 +0000 |
tree | 196bf451ec7a656bcbaaeffce735fe19e5c7b66f | |
parent | 34a63a6d907fc1ec7ce16857cb717c8194e7865b [diff] | |
parent | fda9ef7490f0caee3b55065431c85c65b75ba684 [diff] |
Snap for 6993940 from fda9ef7490f0caee3b55065431c85c65b75ba684 to sc-d1-release Change-Id: I366d054aa0674c4e31f1913727f2b86ee234ec70
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.