commit | 541e47f0488ec461eb34eae8799d2a45802c39cd | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Sat Feb 20 00:24:08 2021 -0800 |
committer | Xin Li <delphij@google.com> | Sat Feb 20 00:24:08 2021 -0800 |
tree | 07e3b612835cb19723c49ba24f667bf33efd3389 | |
parent | 148eacad2af2fc95d5a22ef5a0a1fb182f4dda32 [diff] | |
parent | 58176bd59698b7332c021acf07cbb648e0872850 [diff] |
Mark ab/7061308 as merged in stage. Bug: 180401296 Merged-In: I130217fd2d0f5fe307adaa397e649234b3a3330b Change-Id: I348a5311c292d34acc11002148f529dfd6c2ec36
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.