commit | ac2523e6c63b72bec59a58cda87c756109330f26 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Fri Apr 10 04:03:03 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Apr 10 04:03:03 2020 +0000 |
tree | 3f3a592027ea6f8d35bf06b7bae84cb7056465ae | |
parent | 6bbbff229e3f6ebea176692cc9a1f9e56aa23699 [diff] | |
parent | 9f510b5fcb29254ec2eec3abb38d865a4a7bde56 [diff] |
[automerger skipped] DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into stag-aosp-master am: 740f0472d8 -s ours am: 8f4ace42fe am: 9f510b5fcb Change-Id: Ifcd834e68499dfd8ccbae8e3f27ef0b0a3ba798c
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.