commit | 43af2da902035673ecee3ec419f5f2796898df79 | [log] [tgz] |
---|---|---|
author | Marco Poletti <poletti.marco@gmail.com> | Tue Dec 30 18:22:18 2014 +0100 |
committer | Marco Poletti <poletti.marco@gmail.com> | Tue Dec 30 18:22:18 2014 +0100 |
tree | 55d6faa464c99e02c9fef6fe09794a67acdf7cb7 | |
parent | d83763ea5ac64cf77e00d223bb54753edf0b8cf5 [diff] |
generate_benchmark: take the num_loops as a command line argument instead of stdin.
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.