commit | 0830e044050d0ccf55d2a3080600a0bceb75ff1d | [log] [tgz] |
---|---|---|
author | Android Build Role Account android-build-prod <android-build-team-robot@google.com> | Thu Nov 14 23:06:55 2019 +0000 |
committer | Android Build Role Account android-build-prod <android-build-team-robot@google.com> | Thu Nov 14 23:06:55 2019 +0000 |
tree | 078dba8803b92c564f54fa60cb4a2b0cc7af3d80 | |
parent | 8cc6682dbad5a5bcfed67f31113d985023eed79d [diff] | |
parent | 9c4c545ad5bbd009acf0f75638aa4beaae94bdb7 [diff] |
Snap for 6008936 from 9c4c545ad5bbd009acf0f75638aa4beaae94bdb7 to r-keystone-qcom-release Change-Id: I822accf33af6dbfe5aab3238d40aa95ad393b041
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.