commit | 8dc3aeb283d2e26fafb109bd843d3e2a4e5c3817 | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Sun Jun 02 00:10:20 2019 -0700 |
committer | Haibo Huang <hhb@google.com> | Sun Jun 02 00:10:20 2019 -0700 |
tree | 10106ac55f6e35093cc8391b416af7230149e01c | |
parent | 66a3a3f5b0c8f92a190f1caa0a9e6c425175f3bf [diff] | |
parent | 1aa1f56a1b9c2cf81876e463c5abd5c2356c8ee0 [diff] |
Upgrade google-fruit to 1aa1f56a1b9c2cf81876e463c5abd5c2356c8ee0 Test: None Change-Id: I010528c657f84486c93c18463dfb9c3680891c93
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.