I want to apply some arbitrary function F on each element of a sequence through myfun class inherited from transform_view. I am unable to output the elements of the resultant sequence. Below is the whole code of my program
#include
AMDG noman javed wrote:
I want to apply some arbitrary function F on each element of a sequence through myfun class inherited from transform_view. I am unable to output the elements of the resultant sequence. Below is the whole code of my program
mpl::transform_view takes an MPL lambda expression rather than a
function object,
because it operates on types, not objects. (most MPL constructs take lambda
expressions--mpl::for_each is a special case)
#include
participants (2)
-
noman javed
-
Steven Watanabe