commit | 8c79fbafd5fb3db5cb93a43699d36614f676bc81 | [log] [tgz] |
---|---|---|
author | Marco Poletti <poletti.marco@gmail.com> | Sun Sep 09 17:38:43 2018 +0100 |
committer | Marco Poletti <poletti.marco@gmail.com> | Sun Sep 09 17:38:43 2018 +0100 |
tree | b7e4a8d237135ac22fb384ac518c60023400b2b3 | |
parent | 6794aa78161c15f9d3248ee1964b0ccc13414ca9 [diff] |
Make componentFunction() work with MSVC 2015.
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 wiki for more information, including installation instructions, tutorials and reference documentation.