commit | 082654d6c4359ad47d387aae77b1c0b8db264fbe | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Mon Apr 06 21:51:26 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Apr 06 21:51:26 2020 +0000 |
tree | 3f3a592027ea6f8d35bf06b7bae84cb7056465ae | |
parent | 8575d35607b389da828d5c52ea5746a0ef6e496f [diff] | |
parent | ff25fa0bc19ca810ca3a4f7205d2dfc4b9130811 [diff] |
Upgrade google-fruit to 0ac041ff302faec7c8218989c86773613a621523 am: 6a2d6c4750 am: 689cdf0d65 am: ff25fa0bc1 Change-Id: If16ddfd91c78645ad2156b3bda056427cdd8c429
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.