commit | b6c8736c7c94839d40577de4ff401bb1e7990661 | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Thu Sep 19 13:06:24 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Thu Sep 19 13:06:24 2019 -0700 |
tree | 078dba8803b92c564f54fa60cb4a2b0cc7af3d80 | |
parent | 1be1f1158a9dac62b4728bb24433852c87dfd25e [diff] | |
parent | 2e24b85f86280607ef588816ff14b08fe8b1a09f [diff] |
Merge "Upgrade google-fruit to bb1fc3b3abe3eda0f093fb1d45f9be96c6af6366" am: e75315ea1b am: f259044276 am: d5940a96a5 am: 2e24b85f86 Change-Id: Idf65bb7a8ce0b2f1bdaafd048bee9e430069cb7b
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.