Hello everyone,
I can not find related information in MSDN, so I want to confirm here, that,
the implementation of for_each is something like,
So, operator(*A) of class Func will be invoked? Right?Code:template <class A, class B> B for_each (A begin, A end, B Func)
{
while (begin != end) Func(*begin++);
return Func;
}
thanks in advance,
George