cv (<div class="t-tr-text">const-Volatilität<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">const-volatility</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div>) specifiers
![]() |
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. |
const
- legt fest, dass der Typ konstant ist.Original:const
- defines that the type is constant.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.volatile
- legt fest, dass der Typ flüchtig ist.Original:volatile
- defines that the type is volatile.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.mutable
- legt fest, dass ein Mitglied einer Klasse keinen Einfluss auf den äußerlich sichtbaren Zustand der Klasse hat.mutable
Mitglieder können in konstanten Klassen modifiziert werden, sodass die Konstantheit im Wesentlichen für das jeweilige Mitglied ignoriert wird.Original:mutable
- defines that a member of a class does not affect the externally visible state of the class.mutable
members can be modified in constant classes, that its constness is essentially ignored for the particular member.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] Erklärung
- Hinweis: cv-qualifier und cv-specifier (siehe Liste oben) sind nicht das Gleiche.
Die cv-qualifier sind Eigenschaften eines Typs während cv-specifier Sprach-Funktionen sind um cv-qualifier zu definierenOriginal:Note: cv-qualifiers and cv-specifiers (list above) are not the same thing.
The cv-qualifiers are properties of a type whereas cv-specifiers are language feature to define cv-qualifiersThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
'const volatile'
, 'const'
, 'volatile'
oder 'none'
. const
legt fest, dass der Typ konstant ist, volatile
legt fest, dass der Typ flüchtig ist. Der nichtkonstante und nichtflüchtige Typ hat keine weiteren Beschränkungen, während konstant und flüchtig folgendes bedeuten :'const volatile'
, 'const'
, 'volatile'
or 'none'
. const
defines that a type is constant, volatile
defines that the type is volatile. Non-constant and non-volatile type has no additional restrictions, whereas constant and volatile imply the following:You can help to correct and verify the translation. Click here for instructions.
- konstant - das Objekt darf nicht verändert werden. Falls dies versucht wird folgt ein unbestimmtes Verhalten. Bei den meisten Compilern ist dies ein Kompilierungsfehler.Original:constant - the object shall not be modified. Attempt to do so results in undefined behavior. On most compilers it is compile-time error.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - flüchtig - das Objekt kann durch nicht nachweisbar durch den Compiler geändert werden und somit einige Compiler-Optimierungen deaktiviert werden .Original:volatile - the object can be modified by means not detectable by the compiler and thus some compiler optimizations must be disabled.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.
- uneingeschränkt <
const
Original:unqualified <const
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - uneingeschränkt <
volatile
Original:unqualified <volatile
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - uneingeschränkt <
const volatile
Original:unqualified <const volatile
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. -
const
<const volatile
-
volatile
<const volatile
-
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.
You can help to correct and verify the translation. Click here for instructions.
- uneingeschränkter Typ kann
const
umgewandelt werdenOriginal:unqualified type can be converted toconst
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - uneingeschränkter Typ kann
volatile
umgewandelt werdenOriginal:unqualified type can be converted tovolatile
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - uneingeschränkter Typ kann
const volatile
umgewandelt werdenOriginal:unqualified type can be converted toconst volatile
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. -
const
Typ kann inconst volatile
umgewandelt werdenOriginal:const
type can be converted toconst volatile
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. -
volatile
Typ kann inconst volatile
umgewandelt werdenOriginal:volatile
type can be converted toconst volatile
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.
[Bearbeiten] Keywords
[Bearbeiten] Beispiel
This section is incomplete |