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.
12 lines
1.3 KiB
12 lines
1.3 KiB
|
|
[](https://travis-ci.org/google/fruit)
|
|
[](https://ci.appveyor.com/project/poletti-marco/fruit)
|
|
[](https://scan.coverity.com/projects/google-fruit)
|
|
[](https://bestpractices.coreinfrastructure.org/projects/1040)
|
|
|
|
Fruit is a [dependency injection](http://en.wikipedia.org/wiki/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](https://github.com/google/fruit/wiki) for more information, including installation instructions, tutorials and reference documentation.
|