Easypt

forEach

..Root.algorithm.iterator.forEach

Calls function sequentially with elements in the range [first, last) as argument.

Child of:

iterator

Signatures:

Object, Callable, BlockCallable

Example:

import("algorithm");

auto a.=(Array());
a.pushBack("w", "a", "z", "f", "c", "d");
algorithm.iterator.forEach(a.begin(), a.end(), log);