|author||Xin Li <firstname.lastname@example.org>||Wed Oct 30 11:47:47 2019 -0700|
|committer||Xin Li <email@example.com>||Wed Oct 30 11:47:47 2019 -0700|
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.