commit | 512e72b4931c1416fa2114ec31a59f9a27fd4e5e | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Wed Sep 23 03:07:53 2020 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Wed Sep 23 03:07:53 2020 +0000 |
tree | 196bf451ec7a656bcbaaeffce735fe19e5c7b66f | |
parent | 00bd2bfad5e5803c5c80197257970c3fcb50132f [diff] | |
parent | e4425a52d17a452ffb0a30bfeaa83da2defc0f77 [diff] |
Snap for 6855655 from e4425a52d17a452ffb0a30bfeaa83da2defc0f77 to sc-d1-release Change-Id: I704dcda2da34197525ea9cb9dc1e523b6d7208c0
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.