commit | 3a895f99faaeff83e2c8a5cc6e2403e7777b3316 | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Tue Sep 03 17:24:25 2019 -0700 |
committer | Haibo Huang <hhb@google.com> | Thu Sep 19 19:28:40 2019 +0000 |
tree | 078dba8803b92c564f54fa60cb4a2b0cc7af3d80 | |
parent | 64dfaad771fe8fcca6ab0944e3ec81268fa84a3e [diff] | |
parent | bb1fc3b3abe3eda0f093fb1d45f9be96c6af6366 [diff] |
Upgrade google-fruit to bb1fc3b3abe3eda0f093fb1d45f9be96c6af6366 Exempt-From-Owner-Approval: Upgrade library Test: None Change-Id: I1ace9f5754836d0adc2c6a1dcbc332802efd082b
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.