commit | 69e574838561dcd12c1bb249e4a4e6833190a7b2 | [log] [tgz] |
---|---|---|
author | Marco Poletti <poletti.marco@gmail.com> | Sun Jul 02 17:59:38 2017 +0100 |
committer | Marco Poletti <poletti.marco@gmail.com> | Sun Jul 02 17:59:38 2017 +0100 |
tree | 67974d069baeb0adb0fa646de6d193a0ec4babbe | |
parent | 589fdbcd42a5f387cbe7d654247faade43050623 [diff] |
Fix 2 memory leaks when dealing with lazy component with arguments. These were detected by Valgrind and ASan during CI tests.
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.