commit | 8ae85592a0481bdda1dee994a3f5c6bdbe22b2e6 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Wed Oct 30 11:47:47 2019 -0700 |
committer | Xin Li <delphij@google.com> | Wed Oct 30 11:47:47 2019 -0700 |
tree | 078dba8803b92c564f54fa60cb4a2b0cc7af3d80 | |
parent | f2590442767fe107828a4fed78e6cd12be6efccc [diff] | |
parent | 2e24b85f86280607ef588816ff14b08fe8b1a09f [diff] |
DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master Bug: 142003500 Change-Id: Ie84bd99dbd5f3c70c8127ee425c1c8def3d66ebf
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.