C++ language
Aus cppreference.com
< cpp
![]() |
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 Sprache C + +-Konstrukte .
Original:
This is a brief reference of available C++ language constructs.
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.
Inhaltsverzeichnis |
[Bearbeiten] Allgemeine Themen
[Bearbeiten] Preprocessor
[Bearbeiten] Kommentare
[Bearbeiten] Keywords
[Bearbeiten] ASCII-Tabelle
[Bearbeiten] Escape-Sequenzen
[Bearbeiten] Geschichte von C + +
[Bearbeiten] Flusskontrolle
[Bearbeiten] Bedingte Ausführung Aussagen
Bedingte Anweisungen ausführen verschiedenen Code-Pfade entsprechend dem Wert der gegebenen Ausdruck .
Original:
Conditional statements execute different code paths according to the value of given expression.
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.
- if führt Code bedingtOriginal:if executes code conditionallyThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - switch führt Code entsprechend dem Wert eines ganzzahligen ArgumentOriginal:switch executes code according to the value of an integral argumentThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] Iterationsanweisungen
Iteration Anweisungen ausführen einen Codepfad mehrfach .
Original:
Iteration statements execute a code path multiple times.
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.
- for führt Schleifen durch die Angabe der Initialisierung, Vergleich und SchrittweiteOriginal:for executes loops by specifying initialization, comparison, and incrementThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - range-for führt Schleifen über einen Bereich (seit C++11)Original:range-for executes loops over a range (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. - while führt Schleife, die Überprüfung Zustand vor jeder IterationOriginal:while executes loop, checking condition before each iterationThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - führt Schleife, die Überprüfung Zustand nach jeder IterationOriginal:do-while</div> executes loop, checking condition after each iterationOriginal:do-whileThe 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.
[Bearbeiten] Gehe Aussagen
Sprunganweisungen weiterhin die Programmausführung an einer anderen Stelle .
Original:
Jump statements continue program execution at a different location.
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.
- continue überspringt den restlichen Teil des Körpers umgebende SchleifeOriginal:continue skips the remaining part of the enclosing loop bodyThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - break beendet die umschließende SchleifeOriginal:break terminates the enclosing loopThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - goto wird die Ausführung an einem anderen OrtOriginal:goto continues execution in another locationThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - return beendet die Ausführung des umschließenden FunktionOriginal:return terminates execution of the enclosing functionThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] Funktionen
Derselbe Code kann an verschiedenen Stellen in dem Programm verwendet werden .
Original:
The same code can be reused at different locations in the program.
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.
- Funktionen deklarierenOriginal:Funktions-Deklarationen</div> declare functionsOriginal:function 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.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - erklären, Lambda-Funktionen (seit C++11)Original:Lambda-Funktion Erklärungen</div> declare lambda functions (seit C++11)Original:lambda function 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.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - erklären Funktion VorlagenOriginal:Funktions-Templates</div> declare function templatesOriginal:function templatesThe 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. - Hinweise darauf, dass der Compiler eine Funktion des Körpers legen direkt in den aufrufenden CodeOriginal:inline-Spezifizierer</div> hints that the compiler insert a function's body directly into the calling codeOriginal:inline 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. - erklären, dass eine Funktion nur bestimmte Ausnahmen (veraltet) wirftOriginal:Exception-Spezifikationen</div> declare that a function throws only specific exceptions (veraltet)Original:exception specificationsThe 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. - erklärt, ob eine Funktion keine Ausnahmen (seit C++11) wirftOriginal:noexcept Spezifizierer</div> declares whether or not a function throws any exceptions (seit C++11)Original:noexcept 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.
[Bearbeiten] Ausnahmen
Ausnahmen sind ein robuster Weg zum Fehler Zustand als Funktion Rückkehrcodes oder globale Fehler-Variablen signalisieren .
Original:
Exceptions are a more robust way to signal error condition than function return codes or global error variables.
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.
- Signal Fehler und die Steuerung an Fehler-HandlerOriginal:Werfen Ausdrücke</div> signal errors and transfer control to error handlersOriginal:throw expressionsThe 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. - Ausnahmen abfangen aus bestimmten Code-BlöckeOriginal:try-catch-Blöcke</div> catch exceptions originating from specific blocks of codeOriginal:try-catch blocksThe 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. - und noexcept Betreiberdefinieren und testen, ob Ausdrücke Ausnahmen (seit C++11) werfenOriginal:noexcept 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:noexcept SpezifiziererandOriginal:noexcept 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.noexcept Betreiber</div> define and test if expressions throw exceptions (seit C++11)Original:noexcept 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.
[Bearbeiten] Namespaces
Namespaces bieten eine Möglichkeit, Namenskonflikte in großen Projekten zu verhindern .
Original:
Namespaces provide a way to prevent name clashes in large projects.
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.
- erklären NamespacesOriginal:Namespacedeklarationen</div> declare namespacesOriginal:namespace 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.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - erklären, alternative Namen für bestehende NamespacesOriginal:Namespace Aliase</div> declare alternate names for existing namespacesOriginal:namespace aliasesThe 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.
[Bearbeiten] Types
- definieren Grundcharakter, Integer-und Fließkomma-TypenOriginal:Grundtypen</div> define basic character, integer and floating point typesOriginal:fundamental typesThe 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. - definieren Typen, die eine SpeicherstelleOriginal:Zeigertypen</div> define types holding a memory locationOriginal:pointer typesThe 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. - definieren Typen, die verschiedene Daten Mitglieder (im Wesentlichen das gleiche wie Klasse) zu haltenOriginal:zusammengesetzte Typen</div> define types that hold several data members (essentially the same as class)Original:compound typesThe 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. - definieren Typen, die in der Lage, nur eine der vorgegebenen Werte enthalten sindOriginal:Aufzählungstypen</div> define types that are able to hold only one of the specified valuesOriginal:enumeration typesThe 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. - definieren Typen, die Daten in mehreren Darstellungen halten kannOriginal:union-Typen</div> define types that can hold data in several representationsOriginal:union typesThe 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. - definieren Funktionsaufruf Unterschriften, das ist die Art von Argumenten und die Rückgabe-TypOriginal:Funktionstypen</div> define function call signatures, that is the types of arguments and the return typeOriginal:function typesThe 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. - definiert einen Typ entspricht dem Typ eines Ausdrucks (seit C++11)Original:decltype Spezifizierer</div> defines a type equivalent to the type of an expression (seit C++11)Original:decltype 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.
[Bearbeiten] Specifiers
- geben Konstantheit und die Volatilität des TypenOriginal:cv Planer</div> specify constness and volatility of typesOriginal:cv 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. - geben Lagerdauer von TypenOriginal:Lagerdauer Planer</div> specify storage duration of typesOriginal:storage duration 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. - gibt an, dass der Wert einer Variable oder Funktion zur Kompilierzeit (seit C++11) berechnet werden kannOriginal:constexpr Spezifizierer</div> specifies that the value of a variable or function can be computed at compile time (seit C++11)Original:constexpr 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. - gibt an, dass die tatsächliche Aktivität aus dem Ausdruck, der Variablen zugewiesen (seit C++11) muss festgelegt werdenOriginal:auto Spezifizierer</div> specifies that the actual type shall be defined from the expression, assigned to the variable (seit C++11)Original:auto 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. - gibt an, dass der Speicher für die Variable durch bestimmte Menge (seit C++11) ausgerichtet werden sollOriginal:alignas Spezifizierer</div> specifies that the storage for the variable should be aligned by specific amount (seit C++11)Original:alignas 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.
[Bearbeiten] Initialisierung
Immer wenn eine benannte Variable deklariert ist, und wenn immer eine temporäre Objekt erzeugt wird, der Startwert des neuen Aufgabe wird durch einen der folgenden Mechanismen bereitgestellt:
Original:
Whenever a named variable is declared, and whenever a temporary object is created, the initial value of the new object is provided through one of the following mechanisms:
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.
- auftritt, wenn keine Initialisierung bereitgestellt wirdOriginal:Default-Initialisierung</div> occurs 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. - tritt auf, wenn die Initialisierung ist ein leerer Satz KlammernOriginal:Wert der Initialisierung</div> occurs 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. - initialisiert jedes Bit des Objekts auf NullOriginal:Null-Initialisierung</div> initializes 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. - initialisiert ein Objekt aus einem anderen ObjektOriginal:Kopieren Initialisierung</div> initializes 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. - bietet den Anfangswert oder die Liste der Konstruktor Argumente in KlammernOriginal:direkte Initialisierung</div> provides 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. - bietet Startwerte für jedes Mitglied eines Arrays oder einer Struktur ohne KonstruktorOriginal:aggregierten Initialisierung</div> provides 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. - bietet eine beliebig lange Liste von Werten, die initialisieren kann ein std::vector oder std::map (seit C++11)Original:Liste der Initialisierung</div> provides 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. - initialisiert alle konstanten statischen Objekte, bevor irgendetwas anderesOriginal:konstanten Initialisierung</div> initializes 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. - bindet Referenzen auf Objekte und erweitern die Lebensdauer der ProvisorienOriginal:Referenz-Initialisierung</div> binds 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.
[Bearbeiten] Literale
Literale sind die Zeichen einer C + +-Programm, das konstante Werte im Quellcode eingebettet stellen .
Original:
Literals are the tokens of a C++ program that represent constant values, embedded in the source code.
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.
- sind dezimal, oktal oder Hexadezimalzahlen vom Typ Integer .Original:Integer-Literale</div> are 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. - sind einzelne Zeichen vom Typ char, char16_t, char32_t oder wchar_tOriginal:Zeichenliterale</div> are individual characters of type char, char16_t, char32_t, or wchar_tOriginal: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.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - sind Werte vom Typ float, double oder long doubleOriginal:Fließkomma-Literale</div> are values of type float, double, or long doubleOriginal: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.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - sind Sequenzen von Zeichen, die schmale, Multibyte oder breit sein kannOriginal:Zeichenfolgenliterale</div> are 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. - sind Werte vom Typ bool, die true und false istOriginal:boolean Literale</div> are values of type bool, that is true and falseOriginal: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.The 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. - sind konstante Werte der vom Benutzer angegebenen Typs (seit C++11)Original:Literale Benutzer definiert werden</div> are 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.
[Bearbeiten] Expressions
Ein Ausdruck ist eine Folge von Operatoren und Operanden, die eine Berechnung angibt. Ein Ausdruck kann in einem Wert führen und kann Nebenwirkungen verursachen .
Original:
An expression is a sequence of operators and operands that specifies a computation. An expression can result in a value and can cause side effects.
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.
- (lvalue, rvalue, glvalue, prvalue, xWert) klassifizieren Ausdrücke durch ihre WerteOriginal:Wertkategorien</div> (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. - von Argumenten und Teilausdrücke die Reihenfolge festlegen, in dem Zwischenergebnisse erhaltenOriginal:Reihenfolge der Auswertung</div> of 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 | ||||||
---|---|---|---|---|---|---|
Abtretung an | incrementNJdecrement | Arithmetik | logisch | Vergleich | memberNJaccess | andererseits |
a = b |
++a |
+a |
!a |
a == b |
a[b] |
a(...) |
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. |
- definiert die Reihenfolge, in der die Betreiber ihre Argumente gebunden sindOriginal:Operatorvorrang</div> defines 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. - sind alternative Schreibweisen für einige Betreiber Original:alternative Darstellungen</div> are 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.
[Bearbeiten] Utilities
; Types
Original:
; Types
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.
- erstellen Synonyme für TypenOriginal:typedef Erklärungen</div> create synonyms for typesOriginal: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.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - erstellen Synonyme für TypenOriginal:Geben Sie Alias-Deklarationen</div> create synonyms for typesOriginal: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.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - definieren zusätzliche Informationen über Variablen (seit C++11)Original:Attribute</div> define 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.
; Casts
Original:
; Casts
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.
- impliziten Konvertierungen von einem Typ in einen anderenOriginal:Standard-Konvertierungen</div> implicit 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. - <div class="t-tr-text">
const_cast
Konvertierung</div>Original:const_cast
conversionThe 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. - <div class="t-tr-text">
static_cast
Konvertierung</div>Original:static_cast
conversionThe 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. - <div class="t-tr-text">
dynamic_cast
Konvertierung</div>Original:dynamic_cast
conversionThe 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. - <div class="t-tr-text">
reinterpret_cast
Konvertierung</div>Original:reinterpret_cast
conversionThe 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. - Konvertierung mit C-Casts Notation und funktionale NotationOriginal:explizite Umwandlung</div> conversion 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.
, Speicherbelegung
Original:
; Memory allocation
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.
- ordnet Speicher dynamischOriginal:neuen Ausdruck</div> allocates memory dynamicallyOriginal: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.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - freigibt Speicher dynamischOriginal:Löschen Ausdruck</div> deallocates 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.
[Bearbeiten] Classes
Klassen stellen das Konzept der objektorientierten Programmierung in C + + .
Original:
Classes provide the concept of object-oriented programming in C++.
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.
- erklären KlassenOriginal:Klassendeklarationen</div> declare classesOriginal: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.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 MethodenOriginal:
this
Zeiger</div> links to the current instance of a class in member methodsOriginal:this
pointerThe 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. - bestimmen Sichtbarkeit der TeilnehmerOriginal:Zugriff auf Planer</div> determine 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. - gewährt Zugriffsrechte auf private / geschützte Teile für Nichtmitglieder Klassen oder FunktionenOriginal:Freund Spezifizierer</div> grants 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. - initialisieren Klasse MitgliederdatenOriginal:Initialisierer Listen</div> initialize class member dataOriginal: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.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] Class-spezifische Funktion Eigenschaften
- erklärt, dass eine Funktion virtuell istOriginal:virtuelle Funktion Spezifizierer</div> declares 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. - erklärt, dass eine virtuelle Funktion eine andere virtuelle function.(seit C++11) überschreibtOriginal:Überschreibungsspezifizierer</div> declares 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. - erklärt, dass eine virtuelle Funktion kann nicht in einem Erben class.(seit C++11) überschriebenOriginal:endgültigen Spezifizierer</div> declares 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. - erklärt, dass ein Konstruktor oder Umwandlung Betreiber nicht in implizite Konvertierungen (seit C++11) verwendet werdenOriginal:explizite Funktion Spezifizierer</div> declares 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. - erklärt, dass eine Funktion nicht verwenden class DatenOriginal:statische Funktion Spezifizierer</div> declares 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. - erklärt, dass eine Member-Funktion kann nur auf cv qualifizierte Objekte verwendet werdenOriginal:cv-Funktion Spezifizierer</div> declares 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.
[Bearbeiten] Besondere Member-Funktionen
- initialisiert das Objekt mit Standardeinstellungen InhalteOriginal:Standardkonstruktor</div> initializes 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. - initialisiert das Objekt mit dem Inhalt eines anderen ObjektsOriginal:Copy-Konstruktor</div> initializes 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. - initialisiert das Objekt mit den Inhalten anderer, temporäres Objekt, Minimierung Kopieren Overhead (seit C++11)Original:bewegen Konstruktor</div> initializes 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. - ersetzt den Inhalt des Objekts mit dem Inhalt eines anderen ObjektsOriginal:Zuweisungsoperator</div> replaces 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. - ersetzt den Inhalt des Objekts mit dem Inhalt des anderen temporären Objekt minimiert Kopieren Overhead (seit C++11)Original:bewegen Zuweisungsoperator</div> replaces 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. - Versionen beansprucht RessourcenOriginal:Destruktor</div> releases claimed resourcesOriginal: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.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] Templates
Ermöglicht Funktionen und Klassen auf generische Typen zu betreiben
Original:
Allows functions and classes to operate on generic types
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.
- deklariert eine Klasse-VorlageOriginal:Klassen-Template Erklärung</div> declares a class templateOriginal: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.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - deklariert eine Funktion VorlageOriginal:Funktions-Template Erklärung</div> declares a function templateOriginal: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.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - definiert eine bestehende Vorlage für einen bestimmten TypOriginal:Template-Spezialisierung</div> defines 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. - ermöglicht die Verwendung von Listen von Typen in Vorlagen (seit C++11)Original:Parameter Packs</div> allows 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.
[Bearbeiten] Optimierungen
- ermöglicht beliebigen Code Transformation, die sich nicht ändert den AusgangOriginal:Die Als-ob-Regel</div> allows 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. - , einschließlich RVO und NRVO macht pass-by-value der bevorzugte Ansatz in vielen Situationen .Original:Kopieren elision</div>, 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. - macht Mehrfachvererbung von Schnittstellen oder politischen Klassen Overhead-frei und wird für Standard-Layout-Typen erforderlich .Original:Leerer Sockel Optimierung</div> makes 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.
[Bearbeiten] Verschiedenes
- ermöglicht die Verwendung von Assembler-Code neben C + +-CodeOriginal:Inline Montage</div> allows 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.