System::Collections::Generic::DictionaryPtr κλάση

DictionaryPtr class

Dictionary pointer class with operator overloads. This type is a pointer to manage other object’s deletion. It should be allocated on stack and passed to functions either by value or by const reference.

template<typename T,typename V>class DictionaryPtr : public System::SmartPtr<Dictionary<T, V>>
ParameterΠεριγραφή
TΤύπος κλειδιού.
VΤύπος τιμής.

Μέθοδοι

ΜέθοδοςΠεριγραφή
DictionaryPtr()Αρχικοποιεί δείκτη null.
DictionaryPtr(const SharedPtr<Dictionary<T, V>>&)Μετατρέπει τύπο δείκτη.
operator[](const X&) constΤελεστής πρόσβασης για εργασία με μετατροπή τύπου κλειδιού.
operator[](const T&) constΤελεστής πρόσβασης.

Δείτε επίσης