Bug: 73965132

Clone this repo:
  1. c73d215 Upgrade google-fruit to f47f76e4cf02843e9ebc88e3e2f8181553ac3ab2 by Sadaf Ebrahimi · 6 days ago main master
  2. 715961f Make bpfmt happy. am: e8ba5d7d3d by Elliott Hughes · 9 weeks ago
  3. e8ba5d7 Make bpfmt happy. by Elliott Hughes · 9 weeks ago
  4. f47f76e Add missing repository dependency in bazel_usage_example. by Marco Poletti · 7 months ago upstream-master
  5. b13ba95 Upgrade google-fruit to dab5bdfe01eb9f90a2b688c7f3be177a9bd8d5c6 am: 15f07df1cc am: d0933fd36b by Zijun · 8 months ago android15-automotiveos-dev android15-qpr1-release android15-qpr1-s3-release android15-qpr1-s4-release android15-qpr1-s5-release android15-tests-dev aml_ads_350923060 aml_ads_351017080 aml_ads_351121120 aml_ase_351010000 aml_ase_351112060 aml_ase_351114000 aml_cfg_351010000 aml_hef_350921160 aml_hef_351016140 aml_hef_351120040 aml_odp_350923040 aml_odp_351020000 aml_odp_351121040 aml_rkp_350910000 aml_rkp_351011000 aml_uwb_350911040 aml_uwb_351011040 android-15.0.0_r10 android-15.0.0_r11 android-15.0.0_r12 android-15.0.0_r13 android-15.0.0_r6 android-15.0.0_r7 android-15.0.0_r8 android-15.0.0_r9

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.