android13/external/google-fruit
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
cmake-modules initial 2024-06-22 20:45:49 +08:00
configuration initial 2024-06-22 20:45:49 +08:00
examples initial 2024-06-22 20:45:49 +08:00
extras initial 2024-06-22 20:45:49 +08:00
include/fruit initial 2024-06-22 20:45:49 +08:00
src initial 2024-06-22 20:45:49 +08:00
test_package initial 2024-06-22 20:45:49 +08:00
tests initial 2024-06-22 20:45:49 +08:00
.clang-format initial 2024-06-22 20:45:49 +08:00
.gitattributes initial 2024-06-22 20:45:49 +08:00
.travis.yml initial 2024-06-22 20:45:49 +08:00
Android.bp initial 2024-06-22 20:45:49 +08:00
BUILD initial 2024-06-22 20:45:49 +08:00
CMakeLists.txt initial 2024-06-22 20:45:49 +08:00
CONTRIBUTING.md initial 2024-06-22 20:45:49 +08:00
COPYING initial 2024-06-22 20:45:49 +08:00
LICENSE initial 2024-06-22 20:45:49 +08:00
METADATA initial 2024-06-22 20:45:49 +08:00
MODULE_LICENSE_APACHE2 initial 2024-06-22 20:45:49 +08:00
OWNERS initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
appveyor.yml initial 2024-06-22 20:45:49 +08:00
conanfile.py initial 2024-06-22 20:45:49 +08:00

README.md

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.