commit | 46e95b7e4c8f055a70e4b223ec75e272e5863df5 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Thu Feb 18 04:03:23 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Feb 18 04:03:23 2021 +0000 |
tree | 07e3b612835cb19723c49ba24f667bf33efd3389 | |
parent | ea4614228250e908f83f2cbffc36cd2dc19a4600 [diff] | |
parent | d3de262fe5cf811c9bf49a0937f89b318531f16c [diff] |
Snap for 7151881 from d3de262fe5cf811c9bf49a0937f89b318531f16c to tm-release Change-Id: I983d06eafae7b14b9e790a6538bae70e76c535da
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.