◐ Shell
clean mode source ↗

Type support (basic types, RTTI, type traits) – cppreference.com

Grundtypen

Grundtypen von der Sprache definiert

Zusätzliche Grundtypen und Makros

definiert in Header <cstddef>

vorzeichenloser Ganzzahltyp, der vom Operator

sizeof

zurückgegeben wird

Original:

unsigned integer type returned by the

sizeof

operator

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(typedef) [edit]

vorzeichenbehafteter Ganzzahl-Typ als Ergebnis der Subtraktion zweier Zeiger

Original:

signed integer type returned when subtracting two pointers

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(typedef) [edit]

(C++11)

die Art der Null-Zeiger wörtliche

nullptr

Original:

the type of the null pointer literal

nullptr

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(typedef) [edit]

Implementierung definiert Null-Zeiger konstant

Original:

implementation-defined null pointer constant

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant) [edit]

POD-Typ mit Angleichung Voraussetzung so groß wie alle anderen skalaren Typ

Original:

POD type with alignment requirement as great as any other scalar type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(typedef) [edit]

Abstand zwischen dem Beginn eines Standard-Layout-Typs und der benannten Member-Variable in Byte

Original:

byte offset from the beginning of a standard-layout type to specified member

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(funktionieren Makro) [edit]

definiert in Header <cstdbool>

__bool_true_false_are_defined

(C++11)

C-Kompatibilität Makro konstant erweitert, um Integer-Konstante 1

Original:

C compatibility macro constant, expands to integer constant 1

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

definiert in Header <cstdalign>

__alignas_is_defined

(C++11)

C-Kompatibilität Makro konstant erweitert, um Integer-Konstante 1

Original:

C compatibility macro constant, expands to integer constant 1

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

Feste Breite Integer-Typen (seit C++11)

numeric_limits

bietet eine Schnittstelle zur Abfrage von Eigenschaften aller grundlegenden numerischen Typen .

Original:

provides an interface to query properties of all fundamental numeric types.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

C numerische begrenzt Schnittstelle

Runtime Typenbezeichnung

enthält irgendeine Art die Informationen, die von der implementation.
Dies ist die Klasse erzeugt, durch die typeid Operator zurückgegeben

Original:

contains some type's information, generated by the implementation.
This is the class, returned by the typeid operator

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klasse) [edit]

Wrapper um eine type_info Objekts können, die als Index in assoziativen verwendet werden und ungeordnete assoziative Container

Original:

wrapper around a type_info object, that can be used as index in associative and unordered associative containers

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klasse) [edit]

Ausnahme, wenn ein Argument in einem typeid Ausdruck geworfen null ist

Original:

exception that is thrown if an argument in a typeid Ausdruck is null

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klasse) [edit]

Ausnahme, die durch eine ungültige

dynamic_cast

Ausdruck geworfen wird, dh eine Besetzung von Referenz-Typ ausfällt

Original:

exception that is thrown by an invalid

dynamic_cast

expression, i.e. a cast of reference type fails

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klasse) [edit]

Exterieur NJ

Exterieur definiert eine Kompilierung template-basierte Schnittstelle abzufragen oder zu ändern, die Eigenschaften der Typen .

Original:

Type traits defines an compile-time template-based interface to query or modify the properties of types.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Typ Eigenschaften

definiert in Header <type_traits>

Primären Typ Kategorien

Original:

Primary type categories

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(C++11)

prüft, ob ein Typ ist void

Original:

checks if a type is void

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ ist integraler Typ

Original:

checks if a type is integral type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ ist Fließkomma-Typ

Original:

checks if a type is floating-point type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

(C++11)

prüft, ob ein Typ ist ein Array-Typ

Original:

checks if a type is an array type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

(C++11)

prüft, ob eine Art ist ein Aufzählungstyp

Original:

checks if a type is an enumeration type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

(C++11)

prüft, ob ein Typ ist ein union-Typ

Original:

checks if a type is an union type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

(C++11)

checks if a type is a class type (but not union type)
(Klassen-Template) [edit]

prüft, ob eine Art ist eine Funktion aus

Original:

checks if a type is a function type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ ist ein Zeiger-Typ

Original:

checks if a type is a pointer type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ ist lvalue Verweis

Original:

checks if a type is lvalue reference

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ ist rvalue Verweis

Original:

checks if a type is rvalue reference

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ ist ein Zeiger auf eine nicht-statische Member-Objekt

Original:

checks if a type is a pointer to a non-static member object

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ ist ein Zeiger auf eine nicht statische Elementfunktion

Original:

checks if a type is a pointer to a non-static member function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Composite Typ Kategorien

Original:

Composite type categories

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

prüft, ob ein Typ ist Grundtypus

Original:

checks if a type is fundamental type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ ist arithmetischen Typ

Original:

checks if a type is arithmetic type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

(C++11)

prüft, ob ein Typ ist skalaren Typ

Original:

checks if a type is scalar type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

(C++11)

prüft, ob ein Typ ist Objekttyp

Original:

checks if a type is object type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ Verbindungstyp

Original:

checks if a type is compound type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ ist entweder lvalue Verweis oder rvalue Verweis

Original:

checks if a type is either lvalue reference or rvalue reference

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]
checks if a type is a pointer to a non-static member function or object
(Klassen-Template) [edit]

Typ Eigenschaften

Original:

Type properties

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(C++11)

prüft, ob ein Typ const qualifizierten

Original:

checks if a type is const-qualified

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ flüchtigen qualifiziert

Original:

checks if a type is volatile-qualified

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ ist trivial

Original:

checks if a type is trivial

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]
checks if a type is trivially copyable
(Klassen-Template) [edit]

prüft, ob ein Typ ist Standard-Layout-Typ

Original:

checks if a type is standard-layout type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

(C++11)

prüft, ob ein Typ ist plain-old-Daten (POD)-Typ

Original:

checks if a type is plain-old data (POD) type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]
checks if a type is literal type
(Klassen-Template) [edit]

(C++11)

checks if a type is class (but not union) type and has no data
(Klassen-Template) [edit]

prüft, ob ein Typ ist polymorphe Klasse Typ

Original:

checks if a type is polymorphic class type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ ist abstrakt Klassentyp

Original:

checks if a type is abstract class type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

(C++11)

prüft, ob eine Art arithmetischer Typ unterzeichnet wird

Original:

checks if a type is signed arithmetic type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ ist unsigned arithmetischen Typ

Original:

checks if a type is unsigned arithmetic type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Unterstützte Operationen

Original:

Supported operations

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

prüft, ob ein Typ hat einen Konstruktor für Argumente

Original:

checks if a type has a constructor for specific arguments

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ hat einen Default-Konstruktor

Original:

checks if a type has a default constructor

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ hat einen Copy-Konstruktor

Original:

checks if a type has a copy constructor

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ hat einen Umzug Konstruktor

Original:

checks if a type has a move constructor

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ hat einen Zuweisungsoperator für eine bestimmte Argument

Original:

checks if a type has a assignment operator for a specific argument

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ hat eine Kopie Zuweisungsoperator

Original:

checks if a type has a copy assignment operator

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ hat einen Umzug Zuweisungsoperator

Original:

checks if a type has a move assignment operator

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ eine nicht gelöschte destructor

Original:

checks if a type has a non-deleted destructor

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

prüft, ob ein Typ hat einen virtuellen Destruktor

Original:

checks if a type has a virtual destructor

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Property Abfragen

Original:

Property queries

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Ruft den Type der Alignment-Anforderungen

Original:

obtains the type's alignment requirements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

(C++11)

ermittelt die Anzahl der Dimensionen eines Array-Typ

Original:

obtains the number of dimensions of an array type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

(C++11)

erhält die Größe eines Array-Typs entlang einer bestimmten Dimension

Original:

obtains the size of an array type along a specified dimension

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Typ Beziehungen

Original:

Type relationships

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(C++11)

prüft, ob zwei Typen sind gleich

Original:

checks if two types are the same

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]
checks if a type is derived from the other type
(Klassen-Template) [edit]

prüft, ob ein Typ in den anderen Typ konvertiert werden

Original:

checks if a type can be converted to the other type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Typ Modifikationen

Typ Modifikation Vorlagen erstellen neue Typdefinitionen, indem Änderungen an einem Template-Parameter. Die daraus resultierende Typ kann dann durch type Mitglied typedef zugegriffen werden .

Original:

Type modification templates create new type definitions by applying modifications on a template parameter. The resulting type can then be accessed through type member typedef.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

definiert in Header <type_traits>

Const-Volatilität Planer

Original:

Const-volatility specifiers

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Entfernt const und / oder volatile Planer aus dem angegebenen Typ

Original:

removes const or/and volatile specifiers from the given type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

(C++11)
(C++11)
(C++11)

adds const or/and volatile specifiers to the given type
(Klassen-Template) [edit]

Referenzen

Original:

References

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Entfernt Verweis aus dem angegebenen Typ

Original:

removes reference from the given type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

fügt lvalue oder rvalue Verweis auf den angegebenen Typ

Original:

adds lvalue or rvalue reference to the given type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Pointers

Original:

Pointers

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Entfernt Zeiger aus dem angegebenen Typ

Original:

removes pointer from the given type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

fügt Zeiger auf den angegebenen Typ

Original:

adds pointer to the given type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Registrieren Modifikatoren

Original:

Sign modifiers

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

macht den gegebenen ganzzahligen Typ unterzeichnet

Original:

makes the given integral type signed

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

macht den gegebenen ganzzahligen Typ unsigned

Original:

makes the given integral type unsigned

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Arrays

Original:

Arrays

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Entfernt ein Teil aus dem angegebenen Array-Typ

Original:

removes one extent from the given array type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]
removes all extents from the given array type
(Klassen-Template) [edit]

Verschiedene Transformationen

definiert in Header <type_traits>

definiert den Typ für die Verwendung als Speicher für initialisierten Arten von vorgegebener Größe

Original:

defines the type suitable for use as uninitialized storage for types of given size

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

definiert die Art geeignet zur Verwendung als Speicher für alle initialisierten gegebenen Typen

Original:

defines the type suitable for use as uninitialized storage for all given types

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

(C++11)

gilt Typ Transformationen als beim Passieren einer Funktionsargument nach Wert

Original:

applies type transformations as when passing a function argument by value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

(C++11)

verbirgt sich eine Funktion Überlast oder Vorlage Spezialisierung auf compile-time boolean basiert

Original:

hides a function overload or template specialization based on compile-time boolean

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

wählt einen oder anderen Art auf compile-type boolean basiert

Original:

chooses one type or another based on compile-type boolean

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]
deduces the result type of a mixed-mode arithmetic expression
(Klassen-Template) [edit]

erhält die zugrunde liegende ganzzahlige Typ für eine bestimmte Aufzählungstyp

Original:

obtains the underlying integer type for a given enumeration type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

(C++11)

leitet den Rückgabetyp einer Funktion Anruf Ausdruck

Original:

deduces the return type of a function call expression

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Helper-Klassen

Kompilierzeitkonstante des angegebenen Typs mit angegebenen Wert

Original:

compile-time constant of specified type with specified value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

Zwei Spezialisierungen std::integral_constant für die Art bool sind vorgesehen:

Original:

Two specializations of std::integral_constant for the type bool are provided:

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

definiert in Header <type_traits>

Type

Original:

Type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Definition
true_type std::integral_constant<bool, true>
false_type std::integral_constant<bool, false>