commit | 39b7bd602f6add05e54ddde3e03b83d028dcc291 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Oct 29 17:33:42 2018 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Mon Oct 29 17:33:42 2018 -0700 |
tree | cd8d4c061f99e2f94f91312ae1feb3dc0a96f390 | |
parent | 1b416db295ca79436b2c930764565d42341dd99d [diff] | |
parent | 8b21b8e7e468b81b18489b63322d6f0d7bbc4240 [diff] |
Merge remote-tracking branch 'aosp/upstream-master' into HEAD am: b4524887e7 am: 8b21b8e7e4 Change-Id: I2a5037fd1ea9be27ecd080654ec74bef438880bd
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.