Download Latest Version fncw_1.1-2.zip (26.5 kB)
Email in envelope

Get an email when there's a new version of fncw

Home / fncw 0.6a
Name Modified Size InfoDownloads / Week
Parent folder
fncw-0.6a.tar.xz 2012-08-31 14.9 kB
fncw-0.6a.zip 2012-08-31 24.0 kB
fncw-0.6a.tar.bz 2012-08-31 16.4 kB
Totals: 3 Items   55.3 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