commit | 51a2af3f3affb00aa71ae0fa1cf56d5d2a39073a | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Thu May 23 05:17:19 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Thu May 23 05:17:19 2019 -0700 |
tree | 580c481ab8049407cf1555bcbbc6ace73df9d219 | |
parent | 002c22e5f2dc9030d0b414a4fce547d9e30e0644 [diff] | |
parent | df9906a80f39b1b8782dc862d4d42da3796fcdc7 [diff] |
Merge "Upgrade google-fruit to d1608a5732fc44e29a067e4b578888d0ec32291d" am: 66a3a3f5b0 am: 4e6085d2e1 am: df9906a80f Change-Id: Ib2405ac6a341faa301ed271dfeecfd603331ab67
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.