Класс 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<T0>
ПараметрОписание
TТип ключа.
VТип значения.

Методы

МетодОписание
DictionaryPtr()Инициализирует нулевой указатель.
DictionaryPtr(const SharedPtr<Dictionary<T, V>>&)Преобразует тип указателя.
operator[](const X&) constОператор доступа для работы с преобразованием типа ключа.
operator[](const T&) constОператор доступа.

См. также