System::Collections::Generic::ListPtr クラス

ListPtr class

List pointer with access operators. 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>class ListPtr : public System::SmartPtr<List<T>>

メソッド

メソッド説明
ListPtr(std::nullptr_t)null ポインタを初期化します。
ListPtr(const SharedPtr<List<T>>&)指定されたリストへのポインタを初期化します。
operator==(std::nullptr_t) constList ポインタが null かどうかをチェックします。
operator[](int)アクセサ。
operator[](int) constアクセサ。

参照