commit | d5940a96a5738e00a30922f6ed48608e6b75ff7d | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Thu Sep 19 12:52:22 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Thu Sep 19 12:52:22 2019 -0700 |
tree | 078dba8803b92c564f54fa60cb4a2b0cc7af3d80 | |
parent | 3042c8f08537aba0e7d8976e0694975cc55ce9a6 [diff] | |
parent | f2590442767fe107828a4fed78e6cd12be6efccc [diff] |
Merge "Upgrade google-fruit to bb1fc3b3abe3eda0f093fb1d45f9be96c6af6366" am: e75315ea1b am: f259044276 Change-Id: Ib7fac4513da78d1fbfa4709cf348d5909ffd3af0
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.