commit | 6a2d6c4750186f2f02ef08841dc4004f78485314 | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Wed Apr 01 22:10:50 2020 -0700 |
committer | Haibo Huang <hhb@google.com> | Wed Apr 01 22:10:50 2020 -0700 |
tree | 3f3a592027ea6f8d35bf06b7bae84cb7056465ae | |
parent | 8ec75cea75dd254fff4f9ce4ecf79002d99d22af [diff] | |
parent | 0ac041ff302faec7c8218989c86773613a621523 [diff] |
Upgrade google-fruit to 0ac041ff302faec7c8218989c86773613a621523 Test: None Change-Id: Iebe1555668cbb5a4258257d66905a368da268b4a
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.