System::Collections::Generic::DictionaryPtr class
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 | Description |
---|
T | Key type. |
V | Value type. |
Methods
Method | Description |
---|
DictionaryPtr() | Initializes null pointer. |
DictionaryPtr(const SharedPtr<Dictionary<T, V>>&) | Converts pointer type. |
operator[](const X&) const | Access operator to work with key type conversion. |
operator[](const T&) const | Access operator. |
See Also