You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker
7ee447c011
|
4 months ago | |
---|---|---|
.. | ||
cmake-modules | 4 months ago | |
configuration | 4 months ago | |
examples | 4 months ago | |
extras | 4 months ago | |
include/fruit | 4 months ago | |
src | 4 months ago | |
test_package | 4 months ago | |
tests | 4 months ago | |
.clang-format | 4 months ago | |
.travis.yml | 4 months ago | |
Android.bp | 4 months ago | |
BUILD | 4 months ago | |
CMakeLists.txt | 4 months ago | |
CONTRIBUTING.md | 4 months ago | |
COPYING | 4 months ago | |
LICENSE | 4 months ago | |
METADATA | 4 months ago | |
MODULE_LICENSE_APACHE2 | 4 months ago | |
OWNERS | 4 months ago | |
README.md | 4 months ago | |
appveyor.yml | 4 months ago | |
conanfile.py | 4 months ago |
README.md
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.