<iterator> library in C++ STL
Iterators in C++ STL | Introduction
Functions
Iterator operations :
- std :: advance : Advance iterator
- std :: distance : Return distance between iterators
- std :: begin : Iterator to beginning
- std :: end : Iterator to end
- std :: prev : Get iterator to previous element
- std :: next : Get iterator to next element
- std :: next vs std :: advance
- All functions in Iterators in C++ STL
Iterator generators :
- std :: back_inserter : Construct back insert iterator
- std :: front_inserter : Constructs front insert iterator
- std :: inserter : Construct insert iterator
- std :: make_move_iterator : Construct move iterator
Typers of Iterator Classes
- input_iterator : Input iterator category
- output_iterator : Output iterator category
- forward_iterator : Forward iterator category
- bidirectional_iterator : Bidirectional iterator category
- random_access_iterator : Random-access iterator category
Predefined iterators
- std :: reverse_iterator : Reverse iterator (class template )
- std :: move_iterator : Move iterator (class template )
- std :: back_insert_iterator : Back insert iterator (class template )
- std :: front_insert_iterator : Front insert iterator (class template )
- std :: insert_iterator : Insert iterator (class template )
- std :: istream_iterator : Istream iterator (class template )
- std :: ostream_iterator: Ostream iterator (class template )
- std :: istreambuf_iterator : Input stream buffer iterator (class template )
- std :: ostreambuf_iterator : Output stream buffer iterator (class template )
Recommended Posts:
- snprintf() in C library
- SDL library in C/C++ with examples
- <strings> library in C++ STL
- <algorithms> library in C++ STL
- <numeric> library in C++ STL
- <regex> library in C++ STL
- boost::split in C++ library
- Any datatype in C++ boost library
- Pattern Searching using C++ library
- Set in C++ Standard Template Library (STL)
- The C++ Standard Template Library (STL)
- C Library math.h functions
- Map in C++ Standard Template Library (STL)
- difftime() C library function
- Advanced C++ with boost library
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



