commit | 0206391a9d4fb708d51f28cb487879923baa1d09 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Wed Dec 02 02:04:24 2020 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Wed Dec 02 02:04:24 2020 +0000 |
tree | 0ac1dd6234fe676c0795748f7708e618dc080a6e | |
parent | 17dd37646ba2bd9a61f0efc714d63a16cb73be51 [diff] | |
parent | ea4614228250e908f83f2cbffc36cd2dc19a4600 [diff] |
Snap for 7005317 from ea4614228250e908f83f2cbffc36cd2dc19a4600 to sc-release Change-Id: I485c39ecc330269b9f2afdbf32198219f8245306
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.