commit | 503f247d1aa4bae2c8721413d55d96324d0d298a | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Sun May 16 01:03:19 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Sun May 16 01:03:19 2021 +0000 |
tree | 61d841dc12f982b1afaf7956176f05df58a9d98c | |
parent | 7d475834b909b8fba5ddc667c810e1104d3bb492 [diff] | |
parent | 05997b664546a08b2f16600af82822a96579f2c8 [diff] |
Snap for 7366010 from 05997b664546a08b2f16600af82822a96579f2c8 to tm-release Change-Id: Iecf9d2c3a879fa547fa698460796da8762629713
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.