System::DefaultBoxedValue 클래스

DefaultBoxedValue class

BoxedValue class implementation. Allows it BoxingValue specializations to be declared without duplicating common code. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

template<class T>class DefaultBoxedValue : public System::Object

메서드

메서드설명
DefaultBoxedValue(const T&)DefaultBoxedValue 클래스를 새 인스턴스로 생성하고, 지정된 값을 나타냅니다.
Equals(ptr) override현재 객체와 지정된 객체가 나타내는 박싱된 값의 동일성을 판단합니다.
GetHashCode() const override현재 객체에 대한 해시 코드를 반환합니다.
GetType() const override객체의 실제 타입을 가져옵니다.
is() const현재 객체가 나타내는 박싱된 값의 타입이 V인지 판단합니다.
ToString() const override박싱된 값의 문자열 표현을 반환합니다.
unbox() const박싱된 값을 언박싱합니다.

또 보기