commit | 5234a2c2c2832f5a5c826bb6faeb0214aaa0a4c2 | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Thu Jun 06 20:28:05 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Thu Jun 06 20:28:05 2019 -0700 |
tree | 10106ac55f6e35093cc8391b416af7230149e01c | |
parent | 710eceefe69d612e74145058b8640bad8005db18 [diff] | |
parent | efe46b40ee98454746ebe79e9fd7b35f2d6593b1 [diff] |
Upgrade google-fruit to 1aa1f56a1b9c2cf81876e463c5abd5c2356c8ee0 am: 8dc3aeb283 am: 18916128df am: ce79e94f56 am: efe46b40ee Change-Id: I9f3c601756aaf46cd5346f92126cfc09189a4e50
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.