commit | 443e6329530fc34a33cba7719396635f1c3350d0 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Sat May 01 03:02:49 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Sat May 01 03:02:49 2021 +0000 |
tree | 61d841dc12f982b1afaf7956176f05df58a9d98c | |
parent | b42a46e46e9db370b30513413614d3e387b9ebf8 [diff] | |
parent | 66f2ce22577b5a8f8dc1e9163aa2acc9d0280f49 [diff] |
Snap for 7328689 from 66f2ce22577b5a8f8dc1e9163aa2acc9d0280f49 to sc-d1-release Change-Id: Ia981394324a3891587bb6af3d475b3105840a6ae
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.