Bug: 73965132

Clone this repo:
  1. 8dc3aeb Upgrade google-fruit to 1aa1f56a1b9c2cf81876e463c5abd5c2356c8ee0 by Haibo Huang · 3 weeks ago master
  2. 66a3a3f Merge "Upgrade google-fruit to d1608a5732fc44e29a067e4b578888d0ec32291d" by Treehugger Robot · 5 weeks ago
  3. 1aa1f56 Use float comparison for Conan compiler min version by Ph1ll · 8 weeks ago upstream-master
  4. 3200274 Upgrade google-fruit to d1608a5732fc44e29a067e4b578888d0ec32291d by Haibo Huang · 8 weeks ago
  5. d1608a5 Add a debug print to try to understand where Boost headers live in OSX. by Marco Poletti · 8 weeks ago

Build Status Build status 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.