std::get_deleter
Aus cppreference.com
< cpp | memory | shared ptr
![]() | 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. |
template<class Deleter, class T> Deleter* get_deleter(const shared_ptr<T>& p)const; | ||
Der Zugriff auf die
p
die deleter. Die std::shared_ptr muss mit einem der Konstruktoren, die einen deleter als Parameter erstellt worden sein. Ansonsten wird es wieder 0 .Original:
Access to the
p
's deleter. The std::shared_ptr must have been created with one of the constructors that take a deleter as a parameter. Otherwise, it will return 0.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]Parameter
(None)
Original:
(none)
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]Rückgabewert
Ein Zeiger auf den Besitz deleter oder 0 .
Original:
A pointer to the owned deleter or 0.
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]Siehe auch
std::shared_ptr Konstruktoren Original: std::shared_ptr constructors The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (öffentliche Elementfunktion) |