commit | 4e6085d2e1d8f1bbcb18ad958a02eaebdb0a8db8 | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Thu May 23 02:00:58 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Thu May 23 02:00:58 2019 -0700 |
tree | 580c481ab8049407cf1555bcbbc6ace73df9d219 | |
parent | a138778f65d672527a366c628d1a15e9f61767c5 [diff] | |
parent | 66a3a3f5b0c8f92a190f1caa0a9e6c425175f3bf [diff] |
Merge "Upgrade google-fruit to d1608a5732fc44e29a067e4b578888d0ec32291d" am: 66a3a3f5b0 Change-Id: I528e03155e43ea226900d40f0a3f8f388b98e44b
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.