commit | 163edb54c696ce93dd90072d69ae45e2392f340c | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Sat May 15 03:04:02 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Sat May 15 03:04:02 2021 +0000 |
tree | 61d841dc12f982b1afaf7956176f05df58a9d98c | |
parent | 361e93753f3e511ced963b6596f44aef24678254 [diff] | |
parent | be2bc9d2e6c13cb18d48c21654eec9013024306f [diff] |
Snap for 7362794 from be2bc9d2e6c13cb18d48c21654eec9013024306f to sc-v2-release Change-Id: I0017175468950ae272a743e9a3278d31eb707585
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.