23 Sep
2013
23 Sep
'13
1:42 p.m.
In PStade Egg it was called [ambi] ( http://p-stade.sourceforge.net/boost/libs/egg/doc/html/boost_egg/function_ad... ), but you have to specify the number of parameters of the function.
But ambiN only works with function objects, or am I wrong?
I created one for a library I am writing, you can see the source code for pipable here: https://github.com/pfultz2/Zen/blob/master/zen/function/pipable.h
In the example at the top the syntax seem different from the test in the bottom of the file, how how you specify a pipeable wrapper for, for example boost::range::accumulate? /Viktor