commit | fa6a0494109a850ca635de6d33e6ddbc55015c3a | [log] [tgz] |
---|---|---|
author | Marco Poletti <poletti.marco@gmail.com> | Sat Feb 18 14:33:32 2017 +0000 |
committer | Marco Poletti <poletti.marco@gmail.com> | Sat Feb 18 14:33:32 2017 +0000 |
tree | 48b17ec97ee52348988a188443dbdcd6bf48de00 | |
parent | 7562d52b7a4dde9d4b61a5035729007dad1757f6 [diff] |
Don't call alignof(T) for abstract types. This is not supported in Visual Studio (and Fruit never needs this value for abstract types anyway).
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.