Bug: 73965132

Clone this repo:
  1. f51bb31 Upgrade google-fruit to f47f76e4cf02843e9ebc88e3e2f8181553ac3ab2 am: c73d2155b0 by Sadaf Ebrahimi · 4 months ago main master
  2. c73d215 Upgrade google-fruit to f47f76e4cf02843e9ebc88e3e2f8181553ac3ab2 by Sadaf Ebrahimi · 4 months ago
  3. 545f4e1 Make bpfmt happy. am: e8ba5d7d3d am: 715961ff3a by Elliott Hughes · 6 months ago
  4. 715961f Make bpfmt happy. am: e8ba5d7d3d by Elliott Hughes · 6 months ago
  5. e8ba5d7 Make bpfmt happy. by Elliott Hughes · 6 months ago

Test on Linux Test on Windows Test on OS X Coverity Scan Status CII Best Practices

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.