Utility library
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. |
C + + enthält eine Vielzahl von Utility Bibliotheken, die Funktionalität im Bereich von Bit-Zählung um Teilfunktion Anwendung bieten. : Diese Bibliotheken lassen sich grob in zwei Gruppen einteilen
Original:
C++ includes a variety of utility libraries that provide functionality ranging from Bit-Zählung to Teilfunktion Anwendung. These libraries can be broadly divided into two groups:
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.
- Sprachunterstützung Bibliotheken undOriginal:language support libraries, andThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Allzweck-Bibliotheken .Original:general-purpose libraries.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Inhaltsverzeichnis |
[Bearbeiten] Sprachunterstützung
Sprachunterstützung Bibliotheken bieten Klassen und Funktionen, die in enger Wechselwirkung mit Sprach-Features und Support gemeinsame Sprache Idiome .
Original:
Language support libraries provide classes and functions that interact closely with language features and support common language idioms.
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] Geben Sie Unterstützung
Grundtypen (zB std::size_t, std::nullptr_t), RTTI (zB std::type_info), Typ Merkmale (zB std::is_integral, std::rank)
Original:
Basic types (e.g. std::size_t, std::nullptr_t), RTTI (e.g. std::type_info), type traits (e.g. std::is_integral, std::rank)
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] Dynamische Speicherverwaltung
Intelligente Zeiger (z. B. std::shared_ptr), Zuweiser (zB std::allocator), C-style Speicher-Management (zB std::malloc)
Original:
Smart pointers (e.g. std::shared_ptr), allocators (e.g. std::allocator), C-style memory management (e.g. std::malloc)
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] Fehlerbehandlung
Ausnahmen (beispielsweise std::exception, std::logic_error), Assertions (beispielsweise assert)
Original:
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] Initializer Listen
(C++11) |
erlaubt die Verwendung an nicht Initialisierungsliste Syntax Plain Old-Datentypen initialisieren Original: allows the use of Initialisierungsliste Syntax to initialize non plain-old-data 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) |
[Bearbeiten] Variadic Funktionen
Unterstützung für Funktionen, die eine beliebige Anzahl von Parametern (zB über va_start, va_arg, va_end) stattfinden
Original:
Support for functions that take an arbitrary number of parameters (via e.g. va_start, va_arg, va_end)
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] Allzweck-Utilities
[Bearbeiten] Programm Versorgungsunternehmen
Kündigung (zB std::abort, std::atexit), Umwelt (zB std::system), Signale (zB std::raise)
Original:
Termination (e.g. std::abort, std::atexit), environment (e.g. std::system), signals (e.g. std::raise)
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] Datum und Uhrzeit
Zeiterfassung (zB std::chrono::time_point, std::chrono::duration), C-style Datum und Uhrzeit (zB std::time, std::clock)
Original:
Time tracking (e.g. std::chrono::time_point, std::chrono::duration), C-style date and time (e.g. std::time, std::clock)
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] Bitset
implementiert konstante Länge Bit-Array Original: implements constant length bit array The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Klasse) |
[Bearbeiten] Function-Objekte
Teilfunktion Anwendung (zB std::bind), generische Funktionen (zB std::function), vordefinierte Funktoren (zB std::plus, std::equal_to)
Original:
Partial function application (e.g. std::bind), generic functions (e.g. std::function), predefined functors (e.g. std::plus, std::equal_to)
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] Paare und Tupel
implementiert binären Tupel, d.h. ein Paar von Werten Original: implements binary tuple, i.e. a pair of values The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Klassen-Template) | |
(C++11) |
implementiert fester Größe Behälter, welche Elemente von möglicherweise unterschiedlichen hält Original: implements fixed size container, which holds elements of possibly different 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) |
(C++11) |
Tag-Typ verwendet werden, um die korrekte Funktion Überlast für stückweise Konstruktion auszuwählen Original: tag type used to select correct function overload for piecewise construction The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Klasse) |
(C++11) |
ein Objekt vom Typ piecewise_construct_t verwendet, um Funktionen für stückweise Konstruktion eindeutig zu machen Original: an object of type piecewise_construct_t used to disambiguate functions for piecewise construction The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (konstanten) |
[Bearbeiten] Swap, vorwärts und bewegen
tauscht die Werte von zwei Objekten Original: swaps the values of two objects The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktions-Template) | |
(C++11) |
leitet eine Funktion Argument Original: forwards a function argument The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktions-Template) |
(C++11) |
erhält einen rvalue Referenz Original: obtains an rvalue reference The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktions-Template) |
(C++11) |
erhält eine rvalue Referenz, wenn der Umzug Konstruktor nicht werfen wird Original: obtains an rvalue reference if the move constructor does not throw The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktions-Template) |
(C++11) |
erhält die Art des Ausdrucks in unevaluierten Kontext Original: obtains the type of expression in unevaluated context The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktions-Template) |
[Bearbeiten] Relationale Operatoren
Defined in namespace
std::rel_ops | |
automatically generates comparison operators based on user-defined operator== and operator< (Funktions-Template) |
[Bearbeiten] Hash-Unterstützung
(C++11) |
hash function object (Klassen-Template) |