commit | 8cc6682dbad5a5bcfed67f31113d985023eed79d | [log] [tgz] |
---|---|---|
author | Android Build Role Account android-build-prod <android-build-team-robot@google.com> | Thu Oct 17 17:29:57 2019 +0000 |
committer | Android Build Role Account android-build-prod <android-build-team-robot@google.com> | Thu Oct 17 17:29:57 2019 +0000 |
tree | 078dba8803b92c564f54fa60cb4a2b0cc7af3d80 | |
parent | 3bdd0eb5dc987778935f55e593823d0880d1e518 [diff] | |
parent | d2290445a657b1de12a792741c3b241f3043a8ab [diff] |
Snap for 5947509 from d2290445a657b1de12a792741c3b241f3043a8ab to r-keystone-qcom-release Change-Id: Ic204d63edb613529c881a012852a7dbdf34cf36a
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.