commit | efe46b40ee98454746ebe79e9fd7b35f2d6593b1 | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Thu Jun 06 20:23:26 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Thu Jun 06 20:23:26 2019 -0700 |
tree | 10106ac55f6e35093cc8391b416af7230149e01c | |
parent | 51a2af3f3affb00aa71ae0fa1cf56d5d2a39073a [diff] | |
parent | ce79e94f560bb5d6aa60a4d88af9a8f3b029ee96 [diff] |
Upgrade google-fruit to 1aa1f56a1b9c2cf81876e463c5abd5c2356c8ee0 am: 8dc3aeb283 am: 18916128df am: ce79e94f56 Change-Id: I8526dcbfabbf3467af4919aafb872075613ca988
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.