System::Collections::Generic::DictionaryPtr klasse
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 | Beschrijving |
|---|
| T | Sleuteltype. |
| V | Waarde‑type. |
Methoden
| Methode | Beschrijving |
|---|
| DictionaryPtr() | Initialiseert null-pointer. |
| DictionaryPtr(const SharedPtr<Dictionary<T, V>>&) | Converteert pointertype. |
| operator[](const X&) const | Toegangsoperator om te werken met sleuteltype‑conversie. |
| operator[](const T&) const | Toegangsoperator. |
Zie ook