commit | 0ba8e00d5db775dd27b8b7e71ae6fe684d51d704 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Tue Jan 08 04:04:44 2019 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Tue Jan 08 04:04:44 2019 +0000 |
tree | 656ac4f7bbaa0390bc8e49b5b22229d0e6170e6c | |
parent | 58c146441cdc5fab34694d68864ee8fe5f8dd037 [diff] | |
parent | 6d9b2897e89aa304dbeb5f863d1021295d72b688 [diff] |
Snap for 5214914 from 6d9b2897e89aa304dbeb5f863d1021295d72b688 to qt-release Change-Id: I25870dc6fe216f60a855ee7a4572e6ec07d9ba9f
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.