Read Me
fncw is a generic function wrapper for C++11.
It support all types of member, lambda and C like functions.
unlike std::function, fncw::function is not a template. This mean that you could
wrap any function with any signature inside only one type/object: fncw::function.
Despite this genericity, fncw::function allow the user to reorder the parameter
order (a bit like std::bind), check the function signature (there is also a
partial check that aim to check only a few parameters).
fncw::function offer the ability to change the parameters value and get the
return value of the call.
-------
FNCW it's "just" two headers: include/fncw.hpp and include/function.hpp.
To use fncw in your project, simply copy the include folder and do:
#include <fncw.hpp>
All the fncw stuff is in the namespace fncw
NOTE: the use of "using namespace fncw;" is (absolutly) NOT recommended !!!
(It could cause name conflict if you use other libs.
Moreover, doing this cancel the most important specificity of namespaces:
to structure the code and avoid name conflicts.)
-------
NOTE: the project has currently been tested on a 64bit linux using
g++ 4.7.1/4.7.2 and g++ 4.8