commit | 41dd26e139df84abeb1c82173d2d77c29328ea61 | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Mon Jul 22 16:51:49 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Mon Jul 22 16:51:49 2019 -0700 |
tree | e708dd39dc9b6ffd7ab31d172f43344313e1d939 | |
parent | ce79e94f560bb5d6aa60a4d88af9a8f3b029ee96 [diff] | |
parent | 64dfaad771fe8fcca6ab0944e3ec81268fa84a3e [diff] |
Upgrade google-fruit to 4ded6e2e54e94b140d60e95cc10027a882e9c536 am: 64dfaad771 Change-Id: I77d69a4f9187f6c005bc4794ff5080315b2ae2cc
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.