commit | ea234f7f07bce865368f9ca90f4b9dc052f667a5 | [log] [tgz] |
---|---|---|
author | Marco Poletti <poletti.marco@gmail.com> | Sat Mar 26 11:53:15 2016 +0000 |
committer | Marco Poletti <poletti.marco@gmail.com> | Sat Mar 26 11:53:15 2016 +0000 |
tree | 9888350aebf38a3adc543951397c9c6971201d93 | |
parent | f8cb4bc9bf3a0011849e7a944de7a9e0ef76694d [diff] |
Use the default constructor for NormalizedComponentStorage instead of defining one explicitly. The explicit definition was needed to workaround a bug in old GCC versions, but it's not needed anymore.
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.