Namensräume
Varianten
Aktionen

Iterator library

Aus cppreference.com
< cpp


 
 
Iterator Bibliothek
Iterator Primitiven
Original:
Iterator primitives
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
iterator_traits
input_iterator_tag
output_iterator_tag
forward_iterator_tag
bidirectional_iterator_tag
random_access_iterator_tag
iterator
Iterator Adaptern
Original:
Iterator adaptors
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
reverse_iterator
Stream-Iteratoren
Original:
Stream iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
istream_iterator
ostream_iterator
istreambuf_iterator
ostreambuf_iterator
Iterator Operationen
Original:
Iterator operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
advance
distance
prev(C++11)
next(C++11)
Reichen Zugang
Original:
Range access
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
begin(C++11)
end(C++11)
 
Die Iterator-Bibliothek enthält Definitionen für fünf Arten von Iteratoren sowie Iterator-Traits, Adapter und Utility-Funktionen .
Original:
The iterator library provides definitions for five kinds of iterators as well as iterator traits, adapters, and utility functions.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Inhaltsverzeichnis

[Bearbeiten] Iterator Kategorien

Es gibt fünf Arten von Iteratoren: InputIterator, OutputIterator, ForwardIterator, BidirectionalIterator und RandomAccessIterator .
Original:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Anstatt durch bestimmte Typen definiert zu werden, wird jede Kategorie von Iteratoren durch die Operationen, die darauf ausgeführt werden können definiert. Diese Definition bedeutet, dass jeder Typ, der die notwendigen Operationen unterstützt als Iterator verwendet werden kann - zum Beispiel unterstützt ein Zeiger alle Operationen durch RandomAccessIterator, so ein Zeiger kann überall dort eingesetzt werden wo ein RandomAccessIterator erforderlich ist .
Original:
Instead of being defined by specific types, each category of iterator is defined by the operations that can be performed on it. This definition means that any type that supports the necessary operations can be used as an iterator -- for example, a pointer supports all of the operations required by RandomAccessIterator, so a pointer can be used anywhere a RandomAccessIterator is expected.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
:. Die fünf Iterator Kategorien können in einer Hierarchie organisiert werden, wo leistungsfähigere Iterator Kategorien (zB RandomAccessIterator) die Operationen von weniger leistungsfähigen Kategorien (zB InputIterator) unterstützen
Original:
The five iterator categories can be organized into a hierarchy, where more powerful iterator categories (e.g. RandomAccessIterator) support the operations of less powerful categories (e.g. InputIterator):
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Iterator category Defined operations
RandomAccessIterator BidirectionalIterator ForwardIterator InputIterator
  • lesen
    Original:
    read
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • Inkrement (ohne mehrere Durchgänge)
    Original:
    increment (without multiple passes)
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
OutputIterator
  • schreiben
    Original:
    write
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • Inkrement (ohne mehrere Durchgänge)
    Original:
    increment (without multiple passes)
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • Inkrement (mit mehreren Durchgängen)
    Original:
    increment (with multiple passes)
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • Dekrement
    Original:
    decrement
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • Direktzugriffsspeicher
    Original:
    random access
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten] Iterator Primitiven

bietet einheitliche Schnittstelle zu den Eigenschaften eines Iterators
Original:
provides uniform interface to the properties of an iterator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Klassen-Template) [edit]
leere Klasse-Typen verwendet werden, um Iterator Kategorien anzuzeigen
Original:
empty class types used to indicate iterator categories
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Klasse) [edit]
die grundlegende Iterator
Original:
the basic iterator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Klassen-Template) [edit]

[Bearbeiten] Iterator Adapter

Iterator-Adapter für umgekehrter Reihenfolge Traversal
Original:
iterator adaptor for reverse-order traversal
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Klassen-Template) [edit]
Iterator-Adapter, der dereferenziert zu einem R-Wert auf
Original:
iterator adaptor which dereferences to an rvalue reference
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Klassen-Template) [edit]
schafft eine std::move_iterator des Typs aus dem Argument abgeleitet
Original:
creates a std::move_iterator of type inferred from the argument
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktions-Template) [edit]
Iterator Adapter für die Zuführung am Ende eines Behälters
Original:
iterator adaptor for insertion at the end of a container
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Klassen-Template) [edit]
schafft eine std::back_insert_iterator des Typs aus dem Argument abgeleitet
Original:
creates a std::back_insert_iterator of type inferred from the argument
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktions-Template) [edit]
Iterator Adapter für die Zuführung an der Vorderseite eines Behälters
Original:
iterator adaptor for insertion at the front of a container
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Klassen-Template) [edit]
schafft eine std::front_insert_iterator des Typs aus dem Argument abgeleitet
Original:
creates a std::front_insert_iterator of type inferred from the argument
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktions-Template) [edit]
Iterator Adapter zum Einsetzen in einen Behälter
Original:
iterator adaptor for insertion into a container
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Klassen-Template) [edit]
schafft eine std::insert_iterator des Typs aus dem Argument abgeleitet
Original:
creates a std::insert_iterator of type inferred from the argument
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktions-Template) [edit]

[Bearbeiten] Stream-Iteratoren

Input-Iterator, die aus std::basic_istream liest
Original:
input iterator that reads from std::basic_istream
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Klassen-Template) [edit]
Ausgabeiterator, die std::basic_ostream schreibt
Original:
output iterator that writes to std::basic_ostream
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Klassen-Template) [edit]
Input-Iterator, die aus std::basic_streambuf liest
Original:
input iterator that reads from std::basic_streambuf
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Klassen-Template) [edit]
Ausgabeiterator, die std::basic_streambuf schreibt
Original:
output iterator that writes to std::basic_streambuf
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Klassen-Template) [edit]

[Bearbeiten] Iterator Operationen

definiert in Header <iterator>
Fortschritte einen Iterator gegeben durch Distanz
Original:
advances an iterator by given distance
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
gibt den Abstand zwischen zwei Iterationen
Original:
returns the distance between two iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
(C++11)
inkrementieren einen Iterator
Original:
increment an iterator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
(C++11)
dekrementieren einen Iterator
Original:
decrement an iterator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]

[Bearbeiten] Range Access

definiert in Header <iterator>
(C++11)
liefert einen Iterator auf den Anfang eines Containers oder eines Arrays
Original:
returns an iterator to the beginning of a container or array
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
(C++11)
liefert einen Iterator auf das Ende eines Containers oder eines Arrays
Original:
returns an iterator to the end of a container or array
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]