commit | 7ab02a5e590e62dc5ee66795c3b3f786925b6617 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Thu Jul 16 02:08:46 2020 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Jul 16 02:08:46 2020 +0000 |
tree | bf376c934810305368dd7865d16ae64b7a840fb2 | |
parent | 8472319ce49a698b41f2b019d53e43a15c99d80f [diff] | |
parent | 572fac3f0241a7d0fb2e03cdcaf8d04ba427a7eb [diff] |
Snap for 6684008 from 572fac3f0241a7d0fb2e03cdcaf8d04ba427a7eb to sc-release Change-Id: Icd0ad551b1e0eb2fb8863368edacd2ffd87e1147
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.