commit | ea4614228250e908f83f2cbffc36cd2dc19a4600 | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Tue Dec 01 06:25:41 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Dec 01 06:25:41 2020 +0000 |
tree | 0ac1dd6234fe676c0795748f7708e618dc080a6e | |
parent | fda9ef7490f0caee3b55065431c85c65b75ba684 [diff] | |
parent | 58176bd59698b7332c021acf07cbb648e0872850 [diff] |
Upgrade google-fruit to 70f7c06e305ad7c9e4e99b87672aaa1061d914d6 am: e6d1a91e25 am: e4f9003db0 am: 58176bd596 Original change: https://android-review.googlesource.com/c/platform/external/google-fruit/+/1514881 Change-Id: I5f0607a746d6e516cebbb4d82107bd31b71ceed2
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.