doubling-snippet.h 119 Bytes
Newer Older
1 2 3
using embb::algorithms::ForEach;
ForEach(range.begin(), range.end(),
        [] (int& to_double) { to_double *= 2; });