## DefaultBoxedValue class


[BoxedValue](../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()](../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](../smartptr/) pointer and use this pointer to pass it to functions as argument.

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

## Metodi

| Metodo | Descrizione |
| --- | --- |
| [DefaultBoxedValue](./defaultboxedvalue/)(const T\&) | Costruisce una nuova istanza della classe [DefaultBoxedValue](./) che rappresenta il valore specificato. |
| [Equals](./equals/)(ptr) override | Determina l'uguaglianza dei valori incapsulati rappresentati dall'oggetto corrente e da quello specificato. |
| [GetHashCode](./gethashcode/)() const override | Restituisce un codice hash per l'oggetto corrente. |
| [GetType](./gettype/)() const override | Ottiene il tipo reale dell'oggetto. |
| [is](./is/)() const | Determina se il tipo del valore incapsulato rappresentato dall'oggetto corrente è **V**. |
| [ToString](./tostring/)() const override | Restituisce la rappresentazione stringa del valore boxed. |
| [unbox](./unbox/)() const | Esegue l'unboxing del valore boxed. |
## Vedi anche

* Class [Object](../object/)
* Namespace [System](../)
* Library [Aspose.Page for C++](../../)
