The for_each algorithm can take a range and a function object as parameters. It will apply the function object to each item in the range.
The for_each algorithm returns the function_object. It is the only algorithm that does this. You can query the returned function object to get its state.
Tuesday, June 22, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment