commit | 56acd55000618d23f789e38e62720feb1941c9ea | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Wed Jul 24 03:17:21 2019 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Wed Jul 24 03:17:21 2019 +0000 |
tree | e708dd39dc9b6ffd7ab31d172f43344313e1d939 | |
parent | bd9f5fee3de4d349f437430bbc1241cd3086b892 [diff] | |
parent | 1be1f1158a9dac62b4728bb24433852c87dfd25e [diff] |
Snap for 5749848 from 1be1f1158a9dac62b4728bb24433852c87dfd25e to rvc-release Change-Id: I3689996a21f8dd86d3686423e6e00cbfe07d5663
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.