commit | e12ad312b4edba945e9bee13846c9d2e5ba3343d | [log] [tgz] |
---|---|---|
author | Igor Murashkin <iam@google.com> | Fri Aug 10 17:55:24 2018 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Fri Aug 10 17:55:24 2018 -0700 |
tree | 2bf5660768e2e48adc2c105778f9d9508a6748e5 | |
parent | 67a7fe692ecc0da7ea6e10b10bf8b1ca5662eeab [diff] | |
parent | b5f9c739e53361035eae33888b01ec8183aa3c2c [diff] |
android: Import fruit from upstream am: 7dfecaa23c am: d91c5a76da am: b5f9c739e5 Change-Id: I0ca9e02d29addd27171679d95491289c146e7bc9
Fruit is a dependency injection framework for C++, loosely inspired by the Guice framework for Java. It uses C++ metaprogramming together with some new 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.