Die Sprache C++
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Dies ist eine kurze Referenz der verfügbaren C++-Sprachkonstrukte.
Allgemeine Themen
Präprozessor
Kommentare
Schlüsselworte
ASCII-Tabelle
Escape-Sequenzen
Geschichte von C++
Flusskontrolle
Auswahlanweisungen
In Auswahlanweisungen werden, je nach Wert des zu prüfenden Ausdrucks, verschiedene Code-Pfade durchlaufen.
Iterationsanweisungen
Iterationsanweisungen führen Code innerhalb eines Pfades mehrfach aus.
- for führt Schleifen mithilfe der Angabe eines Indexes, einer Bedingung und einer Schrittweite aus
- range-for führt Iterationen über einen Bereich aus.(seit C++11)
- while führt eine Schleife aus, bei der vor jeder Iteration eine Bedingung überprüft wird
- do-while führt eine Schleife aus, bei der eine Bedingung nach jeder Iteration überprüft wird
Sprunganweisungen
Sprunganweisungen setzen die Programmausführung an einer anderen Stelle fort
- continue überspringt den restlichen Code innerhalb des Codeblocks einer Schleife
- break beendet die aktuelle Schleife
- goto setzt die Ausführung an einem anderen Ort fort
- return beendet die Ausführung der aktuellen Funktion
Funktionen
Derselbe Code kann an verschiedenen Stellen im Programm verwendet werden
- Funktions-Deklarationen deklarieren Funktionen
- Lambda-Funktionen anonyme Funktionen (seit C++11)
- Funktions-Templates Vorlagen für Funktionen
- inline-Funktionen Funktionen, deren Body vom Compiler direkt in den Quelltext eingefügt wird.
- Exception-Spezifikationen legen fest, welche Exceptions von einer Funktion ausgelöst werden können. (veraltet)
- Der noexcept-Bezeichner legt fest, ob eine Funktion Ausnahmen auslösen kann. (seit C++11)
Ausnahmen
Ausnahmen sind im Gegensatz zu Rückgabewerten oder globalen Fehlervariablen ein robuster Weg, um Fehler zu signalisieren.
- throw signalisiert einen Fehler und übergibt die Steuerung des Programms an einen Exception-Handler
- try-catch-Blöcke fangen Ausnahmen aus bestimmten Code-Blöcken ab
- noexcept-Bezeichner und noexcept-Operatoren definieren und testen, ob Ausdrücke Ausnahmen auslösen (seit C++11)
Namensräume
Namensräume bieten eine Möglichkeit, um Namenskonflikte in großen Projekten zu verhindern.
- Namespace-Deklarationen deklarieren Namensräume
- Namespace-Alias Alternativer Name für einen bestehenden Namensraum
Typen
- Fundamentale Typen einfache Character-, Integer- und Fließkomma-Typen
- Zeigertypen Typen, die auf eine Adresse im Speicher zeigen
- Zusammengesetzte Typen Typen, die verschiedene Datenelemente beinhalten (im Wesentlichen das gleiche wie Klassen)
- Aufzählungstypen Typen, die in der Lage sind, nur eine der vorgegebenen Werte zu beinhalten
- union-Typen Typen, die Daten in mehreren Darstellungen speichern können
- Funktionstypen Funktionssignaturen, d.h. die Art der Argumente und den Rückgabe-Typ
- decltype-Bezeichner legt fest, dass ein Typ dem Typ eines spezifischen Ausdrucks entspricht (seit C++11)
Bezeichner
- cv gibt an, ob es sich um einen konstanten und/oder einen flüchtigen Typen handelt
- storage_duration gibt an, wie lang der Typ gespeichert wird
- constexpr gibt an, dass der Wert einer Variable oder Funktion zur Kompilierzeit berechnet werden kann (seit C++11)
- auto gibt an, dass der eigentliche Typ, der einer Variablen zugewiesen werden soll, auf einem Ausdruck basiert (seit C++11)
- alignas gibt an, dass der Speicher für die Variable auf eine bestimmte Menge festgelegt wird (seit C++11)
Initialisierung
You can help to correct and verify the translation. Click here for instructions.
- Default-Initialisierungauftritt, wenn keine Initialisierung bereitgestellt wirdOriginal:default initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Default-Initialisierungoccurs when no initializer is providedOriginal:default initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Wert der Initialisierungtritt auf, wenn die Initialisierung ist ein leerer Satz KlammernOriginal:value initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Wert der Initialisierungoccurs when the initializer is an empty set of parenthesesOriginal:value initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Null-Initialisierunginitialisiert jedes Bit des Objekts auf NullOriginal:zero initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Null-Initialisierunginitializes every bit of the object to zeroOriginal:zero initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Kopieren Initialisierunginitialisiert ein Objekt aus einem anderen ObjektOriginal:copy initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Kopieren Initialisierunginitializes an object from another objectOriginal:copy initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - direkte Initialisierungbietet den Anfangswert oder die Liste der Konstruktor Argumente in KlammernOriginal:direct initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:direkte Initialisierungprovides the initial value or the list of constructor arguments, in parenthesesOriginal:direct initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - aggregierten Initialisierungbietet Startwerte für jedes Mitglied eines Arrays oder einer Struktur ohne KonstruktorOriginal:aggregate initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:aggregierten Initialisierungprovides initial values to every member of an array or a struct without a constructorOriginal:aggregate initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Liste der Initialisierungbietet eine beliebig lange Liste von Werten, die initialisieren kann ein std::vector oder std::map (seit C++11)Original:list initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Liste der Initialisierungprovides an arbitrary long list of values, which can initialize a std::vector or std::map (seit C++11)Original:list initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - konstanten Initialisierunginitialisiert alle konstanten statischen Objekte, bevor irgendetwas anderesOriginal:constant initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:konstanten Initialisierunginitializes all constant static objects before anything elseOriginal:constant initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Referenz-Initialisierungbindet Referenzen auf Objekte und erweitern die Lebensdauer der ProvisorienOriginal:reference initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Referenz-Initialisierungbinds references to objects and extend the lifetimes of the temporariesOriginal:reference initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Literale
You can help to correct and verify the translation. Click here for instructions.
- Integer-Literalesind dezimal, oktal oder Hexadezimalzahlen vom Typ Integer .Original:integer literalsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Integer-Literaleare decimal, octal, or hexadecimal numbers of integer type.Original:integer literalsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Zeichenliteralesind einzelne Zeichen vom TypOriginal:character literalsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.char,char16_t,char32_toderwchar_tOriginal:Zeichenliteraleare individual characters of typeOriginal:character literalsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.char,char16_t,char32_t, orwchar_tThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Fließkomma-Literalesind Werte vom TypOriginal:floating-point literalsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.float,doubleoderlong doubleOriginal:Fließkomma-Literaleare values of typeOriginal:floating-point literalsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.float,double, orlong doubleThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Zeichenfolgenliteralesind Sequenzen von Zeichen, die schmale, Multibyte oder breit sein kannOriginal:string literalsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Zeichenfolgenliteraleare sequences of characters, which may be narrow, multibyte, or wideOriginal:string literalsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - boolean Literalesind Werte vom TypOriginal:boolean literalsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.bool, dietrueundfalseistOriginal:boolean Literaleare values of typeOriginal:boolean literalsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.bool, that istrueandfalseThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - nullptr ist der Zeiger wörtliche, die eine Null-Zeiger-Wert (seit C++11) angibtOriginal:nullptr is the pointer literal which specifies a null pointer value (seit C++11)The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Literale Benutzer definiert werdensind konstante Werte der vom Benutzer angegebenen Typs (seit C++11)Original:user-defined literalsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Literale Benutzer definiert werdenare constant values of user-specified type (seit C++11)Original:user-defined literalsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Expressions
You can help to correct and verify the translation. Click here for instructions.
- Wertkategorien(lvalue, rvalue, glvalue, prvalue, xWert) klassifizieren Ausdrücke durch ihre WerteOriginal:value categoriesThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Wertkategorien(lvalue, rvalue, glvalue, prvalue, xvalue) classify expressions by their valuesOriginal:value categoriesThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Reihenfolge der Auswertungvon Argumenten und Teilausdrücke die Reihenfolge festlegen, in dem Zwischenergebnisse erhaltenOriginal:order of evaluationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Reihenfolge der Auswertungof arguments and subexpressions specify the order in which intermediate results are obtainedOriginal:order of evaluationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - operators erlauben die Verwendung der Syntax in der Mathematik allgemein gefundenOriginal:operators allow the use of syntax commonly found in mathematicsThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
| Common operators | ||||||
|---|---|---|---|---|---|---|
| Zuweisungen | incrementNJdecrement | Arithmetik | logisch | Vergleich | memberNJaccess | andererseits |
|
|
|
|
|
|
|
|
| Special operators | ||||||
|
static_cast wandelt einem Typ in einen anderen kompatiblen Typ
Original: static_cast converts one type to another compatible type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. dynamic_cast wandelt virtuellen Basisklasse abgeleitet class
Original: dynamic_cast converts virtual base class to derived class The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. const_cast wandelt Typ kompatiblen Typ mit unterschiedlichen cv qualifiers
Original: The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. reinterpret_cast wandelt Typ inkompatibel type
Original: reinterpret_cast converts type to incompatible type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. new ordnet memory
Original: new allocates memory The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. delete freigibt memory
Original: delete deallocates memory The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. sizeof fragt die Größe eines type
Original: sizeof queries the size of a type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. sizeof... fragt die Größe eines Parameter Pack (seit C++11)
Original: The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. typeid fragt die Typinformationen eines type
Original: typeid queries the type information of a type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. noexcept prüft, ob ein Ausdruck eine Ausnahme (seit C++11)
werfen kann Original: The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. alignof Abfragen Ausrichtungsanforderungen eines Typs (seit C++11)
Original: alignof queries alignment requirements of a type (seit C++11) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||||
- Operatorvorrangdefiniert die Reihenfolge, in der die Betreiber ihre Argumente gebunden sindOriginal:operator precedenceThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Operatorvorrangdefines the order in which operators are bound to their argumentsOriginal:operator precedenceThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - alternative Darstellungensind alternative Schreibweisen für einige BetreiberOriginal:alternative representationsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:alternative Darstellungenare alternative spellings for some operatorsOriginal:alternative representationsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Utilities
You can help to correct and verify the translation. Click here for instructions.
- typedef Erklärungenerstellen Synonyme für TypenOriginal:typedef declarationsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Geben Sie Alias-Deklarationenerstellen Synonyme für TypenOriginal:type alias declarationsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Attributedefinieren zusätzliche Informationen über Variablen (seit C++11)Original:attributesThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Attributedefine additional information about variables (seit C++11)Original:attributesThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
- Standard-Konvertierungenimpliziten Konvertierungen von einem Typ in einen anderenOriginal:standard conversionsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Standard-Konvertierungenimplicit conversions from one type to anotherOriginal:standard conversionsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. const_castKonvertierungOriginal:const_castconversionThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.static_castKonvertierungOriginal:static_castconversionThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.dynamic_castKonvertierungOriginal:dynamic_castconversionThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.reinterpret_castKonvertierungOriginal:reinterpret_castconversionThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.- explizite UmwandlungKonvertierung mit C-Casts Notation und funktionale NotationOriginal:explicit castThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:explizite Umwandlungconversion using C-style cast notation and functional notationOriginal:explicit castThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
- neuen Ausdruckordnet Speicher dynamischOriginal:new expressionThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Löschen Ausdruckfreigibt Speicher dynamischOriginal:delete expressionThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Löschen Ausdruckdeallocates memory dynamicallyOriginal:delete expressionThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Klassen
You can help to correct and verify the translation. Click here for instructions.
- Klassendeklarationenerklären KlassenOriginal:class declarationsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Links auf die aktuelle Instanz einer Klasse in den Mitgliedsländern Methoden
thisZeigerOriginal:thispointerThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:links to the current instance of a class in member methodsthisZeigerOriginal:thispointerThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Zugriff auf Planerbestimmen Sichtbarkeit der TeilnehmerOriginal:access specifiersThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Zugriff auf Planerdetermine visibility of class membersOriginal:access specifiersThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Freund Spezifizierergewährt Zugriffsrechte auf private / geschützte Teile für Nichtmitglieder Klassen oder FunktionenOriginal:friend specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Freund Spezifizierergrants access privileges to private/protected parts for non-member classes or functionsOriginal:friend specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Initialisierer Listeninitialisieren Klasse MitgliederdatenOriginal:initializer listsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Class-spezifische Funktion Eigenschaften
- virtuelle Funktion Spezifizierererklärt, dass eine Funktion virtuell istOriginal:virtual function specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:virtuelle Funktion Spezifiziererdeclares that a function is virtualOriginal:virtual function specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Überschreibungsspezifizierererklärt, dass eine virtuelle Funktion eine andere virtuelle function.(seit C++11) überschreibtOriginal:override specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Überschreibungsspezifiziererdeclares that a virtual function overrides another virtual function.(seit C++11)Original:override specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - endgültigen Spezifizierererklärt, dass eine virtuelle Funktion kann nicht in einem Erben class.(seit C++11) überschriebenOriginal:final specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:endgültigen Spezifiziererdeclares that a virtual function can not be overridden in a inheriting class.(seit C++11)Original:final specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - explizite Funktion Spezifizierererklärt, dass ein Konstruktor oder Umwandlung Betreiber nicht in implizite Konvertierungen (seit C++11) verwendet werdenOriginal:explicit function specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:explizite Funktion Spezifiziererdeclares that a constructor or conversion operator can not be used in implicit conversions (seit C++11)Original:explicit function specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - statische Funktion Spezifizierererklärt, dass eine Funktion nicht verwenden class DatenOriginal:static function specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:statische Funktion Spezifiziererdeclares that a function does not use class dataOriginal:static function specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - cv-Funktion Spezifizierererklärt, dass eine Member-Funktion kann nur auf cv qualifizierte Objekte verwendet werdenOriginal:cv function specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:cv-Funktion Spezifiziererdeclares that a member function can only be used on cv qualified objectsOriginal:cv function specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Besondere Member-Funktionen
- Standardkonstruktorinitialisiert das Objekt mit Standardeinstellungen InhalteOriginal:default constructorThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Standardkonstruktorinitializes the object with default contentsOriginal:default constructorThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Copy-Konstruktorinitialisiert das Objekt mit dem Inhalt eines anderen ObjektsOriginal:copy constructorThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Copy-Konstruktorinitializes the object with the contents of another objectOriginal:copy constructorThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - bewegen Konstruktorinitialisiert das Objekt mit den Inhalten anderer, temporäres Objekt, Minimierung Kopieren Overhead (seit C++11)Original:move constructorThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:bewegen Konstruktorinitializes the object with the contents of other, temporary object, minimizing copying overhead (seit C++11)Original:move constructorThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Zuweisungsoperatorersetzt den Inhalt des Objekts mit dem Inhalt eines anderen ObjektsOriginal:assignment operatorThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Zuweisungsoperatorreplaces the contents of the object with the contents of another objectOriginal:assignment operatorThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - bewegen Zuweisungsoperatorersetzt den Inhalt des Objekts mit dem Inhalt des anderen temporären Objekt minimiert Kopieren Overhead (seit C++11)Original:move assignment operatorThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:bewegen Zuweisungsoperatorreplaces the contents of the object with the contents of other, temporary object, minimizing copying overhead (seit C++11)Original:move assignment operatorThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - DestruktorVersionen beansprucht RessourcenOriginal:destructorThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Templates
You can help to correct and verify the translation. Click here for instructions.
- Klassen-Template Erklärungdeklariert eine Klasse-VorlageOriginal:class template declarationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Funktions-Template Erklärungdeklariert eine Funktion VorlageOriginal:function template declarationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Template-Spezialisierungdefiniert eine bestehende Vorlage für einen bestimmten TypOriginal:template specializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Template-Spezialisierungdefines an existing template for a specific typeOriginal:template specializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Parameter Packsermöglicht die Verwendung von Listen von Typen in Vorlagen (seit C++11)Original:parameter packsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Parameter Packsallows the use of lists of types in templates (seit C++11)Original:parameter packsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Optimierungen
- Die Als-ob-Regelermöglicht beliebigen Code Transformation, die sich nicht ändert den AusgangOriginal:The as-if ruleThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Die Als-ob-Regelallows any code transformation that doesn't change the outputOriginal:The as-if ruleThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Kopieren elision, einschließlich RVO und NRVO macht pass-by-value der bevorzugte Ansatz in vielen Situationen .Original:Copy elisionThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Kopieren elision, including RVO and NRVO, makes pass-by-value the preferred approach in many situations.Original:Copy elisionThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Leerer Sockel Optimierungmacht Mehrfachvererbung von Schnittstellen oder politischen Klassen Overhead-frei und wird für Standard-Layout-Typen erforderlich .Original:Empty base optimizationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Leerer Sockel Optimierungmakes multiple inheritance from interfaces or policy classes overhead-free and is required for standard-layout types.Original:Empty base optimizationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Verschiedenes
- Inline-Assemblerermöglicht die Verwendung von Assembler-Code neben C++-CodeOriginal:Inline assemblyThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:Inline-Assemblerallows the use of assembly code alongside C++ codeOriginal:Inline assemblyThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.