commit | de73785847d015c7fe66832f44f3ebf57f68eb3e | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Sun Feb 21 00:03:45 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Sun Feb 21 00:03:45 2021 +0000 |
tree | 07e3b612835cb19723c49ba24f667bf33efd3389 | |
parent | d546f010c70d247b2ce4239c481b983c1f3b8c13 [diff] | |
parent | fe767c45f3ea49dcaa25143e87ac28694e92819a [diff] |
Snap for 7160059 from fe767c45f3ea49dcaa25143e87ac28694e92819a to sc-release Change-Id: I6862e9f7afe4255ea8e52213bddd7e599d5683af
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.