commit | ed5ec821287f0b4cf0fe784f0b98e055a909bf1d | [log] [tgz] |
---|---|---|
author | Marco Poletti <poletti.marco@gmail.com> | Tue Jul 24 19:31:32 2018 +0100 |
committer | Marco Poletti <poletti.marco@gmail.com> | Tue Jul 24 19:31:32 2018 +0100 |
tree | 34a0632446d1b72530586d729abde64db475005c | |
parent | 74305893f69ba901b68d88c67c0d085d933233d9 [diff] |
Make PartialComponent non-movable. This catches at compile-time some cases where PartialComponent is used for non-temporary values. See issue 67.
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.