System::Collections::Generic::StackPtr class

StackPtr class

Stack pointer. 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 StackPtr : public System::SmartPtr<Stack<T>>
ParameterDescription
TElement type.

Methods

MethodDescription
StackPtr()Constructs null pointer.
StackPtr(const SharedPtr<Stack<T>>&)Constructs pointer referencing specific stack.

See Also