about for_each and functions objects

the for_each and functions objects are only for STL?
Last edited on
You can use for_each to iterate over any sequence as long as you have iterators that provide the input iterator interface. http://en.cppreference.com/w/cpp/concept/InputIterator
Last edited on
i see. thank you so much for all
Topic archived. No new replies allowed.