commit | 3c4b5f22c7cf1b79a41c831b5f4923f1e24a5b1f | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Sun Aug 12 03:05:08 2018 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Sun Aug 12 03:05:08 2018 +0000 |
tree | d52b2960c70a980d3513cf51a820367a0a3693bf | |
parent | 67a7fe692ecc0da7ea6e10b10bf8b1ca5662eeab [diff] | |
parent | ac6729870b3136c32eaa7f257308cdf1e62f1a39 [diff] |
Snap for 4949134 from ac6729870b3136c32eaa7f257308cdf1e62f1a39 to qt-release Change-Id: I2cfd3111e8584abd19673766b42158e7c849c99d
Fruit is a dependency injection framework for C++, loosely inspired by the Guice framework for Java. It uses C++ metaprogramming together with some new 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.