|author||Elliott Hughes <email@example.com>||Mon Oct 29 13:31:18 2018 -0700|
|committer||Elliott Hughes <firstname.lastname@example.org>||Mon Oct 29 13:32:49 2018 -0700|
Merge remote-tracking branch 'aosp/upstream-master' into HEAD Change-Id: I6a5f7ff9c61f4c8767765c921c2447098e808511
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.