Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Iterator
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
====Categories==== Iterators can be categorised according to their functionality. Here is a (non-exhaustive) list of iterator categories:<ref>{{cite web | url = http://www.phpro.org/tutorials/Introduction-to-SPL.html#2 | title = C++ Iteratoren: Iterator-Kategorien | author = Kevin Waterson | language = de | publisher = cppreference.com | access-date = 2012-08-09 }}</ref><ref>{{cite web | url = http://www.sgi.com/tech/stl/Iterators.html | title = Iterators: Concepts | author = Kevin Waterson | publisher = sgi | access-date = 2012-08-09 }}</ref> {| class="wikitable sortable" |- ! Category !! Languages |- | Bidirectional iterator || [[C++]], [[Rust (programming language)|Rust]]<ref>{{cite web |title=DoubleEndedIterator in std::iter - Rust |url=https://doc.rust-lang.org/std/iter/trait.DoubleEndedIterator.html |website=doc.rust-lang.org |access-date=11 May 2025}}</ref> |- | Forward iterator || C++ |- | Input iterator || C++ |- | Output iterator || C++ |- | Random access iterator || C++ |- | Trivial iterator || C++ (old [[Standard Template Library|STL]])<ref>{{cite web |url = https://stackoverflow.com/ |title = Types of iterator: Output vs. input vs. forward vs. random access iterator |author = larsmans |date = 2011-03-06 |publisher = stackoverflow |archive-url = https://web.archive.org/web/20120808230608/http://stackoverflow.com/ |archive-date = 2012-08-08 |access-date = 2012-08-09 |url-status = bot: unknown }}</ref> |}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)