commit | c41eb97f8457c333eef4b46e28bf55a183903dc1 | [log] [tgz] |
---|---|---|
author | Marco Poletti <poletti.marco@gmail.com> | Tue Sep 11 00:18:23 2018 +0100 |
committer | Marco Poletti <poletti.marco@gmail.com> | Tue Sep 11 00:18:23 2018 +0100 |
tree | 5a4d900baa88d6e3feb9fc5ee169876ee71bed3f | |
parent | c75764357695a7e18a1aace4b18c1482b6692082 [diff] |
Double the size of SemistaticMap's hash table, with the previous size there can be many collisions when the number of elements is just under a power of 2.
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.