commit | 740f0472d883070cb7da01dba0ff2db757ab8673 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Thu Apr 09 17:50:41 2020 -0700 |
committer | Xin Li <delphij@google.com> | Thu Apr 09 17:50:41 2020 -0700 |
tree | 3f3a592027ea6f8d35bf06b7bae84cb7056465ae | |
parent | 689cdf0d658689c382de416a09dc077c2cdc0c8c [diff] | |
parent | b002ed6193295d05d10e8d1fa01caf2e5cd8059b [diff] |
DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into stag-aosp-master Bug: 151763422 Change-Id: I9d20c9d31d222bd5ef28659c8785ba0cf153cf75
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.