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>>
ParameterDescription
TKey type.
VValue type.

Methods

MethodDescription
DictionaryPtr()Initializes null pointer.
DictionaryPtr(const SharedPtr<Dictionary<T, V>>&)Converts pointer type.
operator[](const X&) constAccess operator to work with key type conversion.
operator[](const T&) constAccess operator.

See Also