System::Collections::Generic::DictionaryPtr classe

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<T0>
ParamètreDescription
TType de clé.
VType valeur.

Méthodes

MéthodeDescription
DictionaryPtr()Initialise un pointeur nul.
DictionaryPtr(const SharedPtr<Dictionary<T, V>>&)Convertit le type de pointeur.
operator[](const X&) constOpérateur d’accès pour travailler avec la conversion du type de clé.
operator[](const T&) constOpérateur d’accès.

Voir aussi