commit | 8472319ce49a698b41f2b019d53e43a15c99d80f | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Wed Jun 03 02:14:50 2020 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Wed Jun 03 02:14:50 2020 +0000 |
tree | acb5f3abe3ddf920300924f4502cc1e769dc412c | |
parent | 74f1ca1c0dddf33875e419a66432fb71d3cbb81f [diff] | |
parent | d7ca2e859fce5f811b406faf736ed29ff22d306c [diff] |
Snap for 6553216 from d7ca2e859fce5f811b406faf736ed29ff22d306c to sc-release Change-Id: I072680292abb2f49ec0b56e1dab80c7d5d6a5519
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.