commit | 9c4c545ad5bbd009acf0f75638aa4beaae94bdb7 | [log] [tgz] |
---|---|---|
author | Steven Laver <lavers@google.com> | Sat Nov 09 19:04:59 2019 -0800 |
committer | Steven Laver <lavers@google.com> | Sat Nov 09 19:04:59 2019 -0800 |
tree | 078dba8803b92c564f54fa60cb4a2b0cc7af3d80 | |
parent | d2290445a657b1de12a792741c3b241f3043a8ab [diff] | |
parent | 96f822a39013fab59a2f17b6db98b1ad5de63f9c [diff] |
Merge RP1A.191031.003 Change-Id: I52c2553fccb09f034623ec498cf2f1b212328ebf
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.