commit | 3ffdbe97830606f3f78dc97bf7371fa4bbaa3eae | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Thu Jun 03 03:02:52 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Jun 03 03:02:52 2021 +0000 |
tree | 61d841dc12f982b1afaf7956176f05df58a9d98c | |
parent | 64c73c148fce4a23e6efbcb12d90e188482efdaf [diff] | |
parent | 87849e475eaac23d7b85bddabbaf1293f80333f9 [diff] |
Snap for 7418644 from 87849e475eaac23d7b85bddabbaf1293f80333f9 to tm-release Change-Id: I0450f1c88ffd2998ad6f4fe56ed6d22d30401e50
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.