commit | 5c354a667997445cca401634d6e10f047254097e | [log] [tgz] |
---|---|---|
author | Marco Poletti <poletti.marco@gmail.com> | Thu Jan 29 18:40:34 2015 +0100 |
committer | Marco Poletti <poletti.marco@gmail.com> | Thu Jan 29 18:59:55 2015 +0100 |
tree | 7b578a444f14561706010b51d48c43bfd7966df5 | |
parent | c06765543e4f880a40cd8d726c64dcb6e6f36b21 [diff] |
No longer consider fruit::Requirements<...> as one of the exposed types when determining what binding compressions to perform. Pass the list of exposed types as an std::vector instead of an std::initializer_list, allowing getTypeIdsForList to work.
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.