commit | 9a224dcc82cd0d515eedd586e787e6527a63d4cb | [log] [tgz] |
---|---|---|
author | Deyao Ren <deyaoren@google.com> | Wed Oct 06 18:32:53 2021 +0000 |
committer | Deyao Ren <deyaoren@google.com> | Wed Oct 06 18:32:53 2021 +0000 |
tree | 61d841dc12f982b1afaf7956176f05df58a9d98c | |
parent | 503d258633972a7c105c39bd76b325c3a1cafb35 [diff] | |
parent | 3ffdbe97830606f3f78dc97bf7371fa4bbaa3eae [diff] |
Merge TP1A.211006.001 Change-Id: I06dadbf5c686842aa9798b0042e326f533b7104a
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.