commit | b00d0d3e825a398fac0989dfdea98319f8ff7216 | [log] [tgz] |
---|---|---|
author | Marco Poletti <poletti.marco@gmail.com> | Sun May 01 11:44:50 2016 +0100 |
committer | Marco Poletti <poletti.marco@gmail.com> | Sun May 01 11:45:41 2016 +0100 |
tree | c3b859f50317524b6f20023ad7da32224c34cdad | |
parent | 9de7ab8c2cacac5e64dde2f510f31a9f44f40b36 [diff] |
Fix a bug in registerFactory(), where compilation would fail if there were multiple non-assisted parameters with different types. This is related (but not the same as) issue #12.
Fruit is a dependency injection framework for C++, loosely inspired by the Guice framework for Java. It uses C++ metaprogramming together with some new 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 Fruit website for more information, including installation instructions, tutorials and reference documentation.