Search:
Forum
General C++ Programming
about for_each and functions objects
about for_each and functions objects
Apr 9, 2018 at 2:57pm UTC
Cambalinho
(1445)
the for_each and functions objects are only for STL?
Last edited on
Apr 9, 2018 at 2:58pm UTC
Apr 9, 2018 at 3:17pm UTC
Peter87
(11237)
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
Apr 9, 2018 at 3:23pm UTC
Apr 9, 2018 at 3:39pm UTC
Cambalinho
(1445)
i see. thank you so much for all
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs