commit | cc31d67e278f4bfd3088f0e82e9af7a83f210043 | [log] [tgz] |
---|---|---|
author | android-build-prod (mdb) <android-build-team-robot@google.com> | Wed Apr 01 12:51:04 2020 +0000 |
committer | android-build-prod (mdb) <android-build-team-robot@google.com> | Wed Apr 01 12:51:04 2020 +0000 |
tree | 704cb3e1dd2efadeac130470babe11a1c9012d96 | |
parent | 51899c59ce1ed973d2b34965612bc399041a0073 [diff] | |
parent | 8ec75cea75dd254fff4f9ce4ecf79002d99d22af [diff] |
Snap for 6355086 from 8ec75cea75dd254fff4f9ce4ecf79002d99d22af to sdk-release Change-Id: I2a366c317b72b5b34e04f30eb51f225b71c8fa04
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.