Bug: 73965132

Clone this repo:
  1. d0933fd Upgrade google-fruit to dab5bdfe01eb9f90a2b688c7f3be177a9bd8d5c6 am: 15f07df1cc by Zijun · 4 weeks ago main master
  2. 15f07df Upgrade google-fruit to dab5bdfe01eb9f90a2b688c7f3be177a9bd8d5c6 by Zijun · 4 weeks ago
  3. dab5bdf Fix the copy/move constructor declarations in NormalizedComponentStorageHolder. Some compilers failed with the previous declaration. by Marco Poletti · 5 weeks ago upstream-master
  4. 79687e7 Mark a swap method noexcept, addressing a Clang Tidy check. by Marco Poletti · 5 weeks ago
  5. e7e145c Add support for latest compiler versions in the CI scripts. by Marco Poletti · 5 weeks 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.