If I have the following:
#include #include #include #include struct Features{ int F1, F2,
You can't. It's not what std::transform does.
std::transform
transform applies a single function to every element in the sequence. It does not select specific elements.
transform