Home
Name Modified Size InfoDownloads / Week
fncw_1.1-2 2013-09-18
fncw 1.0 2013-04-02
fncw 0.7b 2012-09-02
fncw 0.6a 2012-08-31
README.txt 2013-09-15 1.2 kB
Totals: 5 Items   1.2 kB 0
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

Source: README.txt, updated 2013-09-15