commit | 002c22e5f2dc9030d0b414a4fce547d9e30e0644 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Sun Feb 24 01:33:33 2019 -0800 |
committer | android-build-merger <android-build-merger@google.com> | Sun Feb 24 01:33:33 2019 -0800 |
tree | 656ac4f7bbaa0390bc8e49b5b22229d0e6170e6c | |
parent | 6d9b2897e89aa304dbeb5f863d1021295d72b688 [diff] | |
parent | a138778f65d672527a366c628d1a15e9f61767c5 [diff] |
[automerger skipped] DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master am: a138778f65 -s ours am skip reason: subject contains skip directive Change-Id: Ib8d1d593b8d79f87d83f881ceaade2263973742a
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.