Dynamische Speicherverwaltung
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. |
[Bearbeiten] Intelligente Zeiger
Intelligente Zeiger ermöglichen automatische, ausnahmesichere Ressourcenverwaltung.
Original:
Smart pointers enable automatic, exception-safe, object lifetime management.
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.
| Defined in header
<memory> | |
Original: Pointer 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) |
Zeiger, der exklusiven Objektbesitz darstellt Original: smart pointer with unique object ownership semantics 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) |
smart pointer with shared object ownership semantics (Klassen-Template) |
| (C++11) |
schwachen Referenz auf ein Objekt vom std::shared_ptr verwaltet Original: weak reference to an object managed by std::shared_ptr The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Klassen-Template) |
| (veraltet) |
Smart-Pointer mit strengen Objektbesitz Semantik Original: smart pointer with strict object ownership semantics The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Klassen-Template) |
Original: Helper classes The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| (C++11) |
bietet mixed-type owner-basierte Bestellung von gemeinsamen und schwache Zeiger Original: provides mixed-type owner-based ordering of shared and weak pointers 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) |
ermöglicht eine Aufgabe, ein shared_ptr erstellen, um sich selbst Original: allows an object to create a shared_ptr referring to itself 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) |
Ausnahme ausgelöst, wenn Zugriff auf eine weak_ptr die bereits zerstört Objekt bezieht Original: exception thrown when accessing a weak_ptr which refers to already destroyed object 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) |
Standardmäßig deleter für unique_ptr Original: default deleter for unique_ptr 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] Allokatoren
Allokatoren sind Klassen-Templates, die die Strategien der Speicherverwaltung kapseln. Dies ermöglicht es generischen Containern, die Speicherverwaltung und die Verwaltung der Daten selbst zu entkoppeln.
Original:
Allocators are class templates encapsulating memory allocation strategy. This allows generic containers to decouple memory management from the data itself.
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.
| Defined in header
<memory> | |
| der Standard-Allokator (Klassen-Template) | |
| (C++11) |
liefert Informationen über allocator Typen Original: provides information about allocator 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 Allocator-aware Konstruktorüberladungen wählen Original: tag type used to select allocator-aware constructor overloads 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 std::allocator_arg_t zur Allocator-aware Konstruktoren wählen Original: an object of type std::allocator_arg_t used to select allocator-aware constructors The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (konstanten) |
| (C++11) |
prüft, ob der angegebene Typ unterstützt uses-Allocator Bau Original: checks if the specified type supports uses-allocator construction The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Klassen-Template) |
| Defined in header
<scoped_allocator> | |
| (C++11) |
implementiert Multi-Level-Zuweisung für Multi-Level-Container Original: implements multi-level allocator for multi-level containers 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] Initialisierter Speicher
Mehrere Dienstprogramme bereitgestellt erstellen und darauf zugreifen raw Lagerung
Original:
Several utilities are provided to create and access raw storage
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.
| Defined in header
<memory> | |
| kopiert eine Reihe von Objekten, die einem nicht initialisierten Bereich des Speichers Original: copies a range of objects to an uninitialized area of memory 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) |
kopiert eine Anzahl von Objekten in einem nicht initialisierten Bereich des Speichers Original: copies a number of objects to an uninitialized area of memory The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktions-Template) |
| kopiert ein Objekt in einem nicht initialisierten Bereich des Speichers Original: copies an object to an uninitialized area of memory The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktions-Template) | |
| kopiert ein Objekt in einem nicht initialisierten Bereich des Speichers Original: copies an object to an uninitialized area of memory The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktions-Template) | |
| einen Iterator, Standard-Algorithmen, um Ergebnisse in initialisierten Speicher zu speichern Original: an iterator that allows standard algorithms to store results in uninitialized memory The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Klassen-Template) | |
| erhält initialisierten Speicher Original: obtains uninitialized storage The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktions-Template) | |
| befreit initialisierten Speicher Original: frees uninitialized storage 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] Garbage Collector Unterstützung
| Defined in header
<memory> | |
| (C++11) |
erklärt, dass ein Objekt nicht recycelt werden kann Original: declares that an object can not be recycled The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
| (C++11) |
erklärt, dass ein Objekt wiederverwertet werden können Original: declares that an object can be recycled 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) |
erklärt, dass ein Speicherbereich nicht enthält rückführbar Zeigern Original: declares that a memory area does not contain traceable pointers The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
| (C++11) |
hebt die Wirkung der std::declare_no_pointers Original: cancels the effect of std::declare_no_pointers The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
| (C++11) |
listet Zeiger Sicherheits-Modelle Original: lists pointer safety models 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) |
liefert den aktuellen Zeiger Sicherheits-Modell Original: returns the current pointer safety model The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
[Bearbeiten] Verschiedenes
| Defined in header
<memory> | |
| (C++11) |
liefert Informationen über Zeiger-ähnliche Typen Original: provides information about pointer-like 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) |
erhält tatsächlichen Adresse eines Objekts, selbst wenn der Bediener' & überlastet ist Original: obtains actual address of an object, even if the & operator is overloaded 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) |
ausrichtet einen Zeiger in einem Puffer Original: aligns a pointer in a buffer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
[Bearbeiten] C-style Speicherverwaltung
Enthält beispielsweise std::malloc, std::free
Original:
Includes e.g. std::malloc, std::free
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] Low-Level-Speicherverwaltung
Enthält beispielsweise
operator new , operator delete , std::set_new_handlerOriginal:
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.

