commit | 3b8e91a25a35015579af188983a77c28bf648505 | [log] [tgz] |
---|---|---|
author | Marco Poletti <poletti.marco@gmail.com> | Sat Mar 26 11:42:06 2016 +0000 |
committer | Marco Poletti <poletti.marco@gmail.com> | Sat Mar 26 11:51:32 2016 +0000 |
tree | fbf55fb21fe34a5e65c3f38f2286d0fb9f57e707 | |
parent | ebe12259cc248e8a03d0f892b32a52eaacf27cc7 [diff] |
When FRUIT_DEEP_TEMPLATE_INSTANTIATION_STACKTRACES_FOR_ERRORS is enabled (only for debugging) unwrap the error arguments so that the correct Error is instantiated.
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.