commit | 65fe2fe18e5f261fc061a2872e6832c4597a9b99 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Wed Oct 30 14:41:41 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Wed Oct 30 14:41:41 2019 -0700 |
tree | 078dba8803b92c564f54fa60cb4a2b0cc7af3d80 | |
parent | 2e24b85f86280607ef588816ff14b08fe8b1a09f [diff] | |
parent | 8ae85592a0481bdda1dee994a3f5c6bdbe22b2e6 [diff] |
DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master am: 8ae85592a0 Change-Id: I86c35c0a3f28989de5948e8870d6fbf32f7e9ffa
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.