System::DefaultBoxedValue class
Contents
[
Hide
]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
Methods
Method | Description |
---|---|
DefaultBoxedValue(const T&) | Constructs a new instance of DefaultBoxedValue class that represents the specified value. |
Equals(ptr) override | Determines the equality of the boxed values represented by the current and specified objects. |
GetHashCode() const override | Returns a hash code for the current object. |
GetType() const override | Gets actual type of object. |
is() const | Determines if the type of the boxed value represented by the current object is V. |
ToString() const override | Returns the string representation of the boxed value. |
unbox() const | Unboxes the boxed value. |
See Also
- Class Object
- Namespace System
- Library Aspose.PUB for C++