Metodo System::MakeObject
Contenuti
[
Nascondere
]System::MakeObject(Args&&…) method
Crea un oggetto sull’heap e restituisce un puntatore condiviso a esso.
template<class T,class ...> std::enable_if<!IsSmartPtr<T>::value, SmartPtr<T>>::type System::MakeObject(Args &&... args)
| Parametro | Descrizione |
|---|---|
| T | Classe da istanziare. |
| Argomenti | Tipi degli argomenti del costruttore. |
| Parametro | Tipo | Descrizione |
|---|---|---|
| argomenti | Args&&… | Argomenti del costruttore. |
ReturnValue
SmartPtr to newly created object, always in shared mode.
Vedi anche
- Class SmartPtr
- Namespace System
- Library Aspose.Font for C++
System::MakeObject(Args&&…) method
Crea un oggetto sull’heap e restituisce un puntatore condiviso a esso.
template<class T,class ...> std::enable_if<IsSmartPtr<T>::value, T>::type System::MakeObject(Args &&... args)
| Parametro | Descrizione |
|---|---|
| T | SmartPtr alla classe da istanziare. |
| Argomenti | Tipi degli argomenti del costruttore. |
| Parametro | Tipo | Descrizione |
|---|---|---|
| argomenti | Args&&… | Argomenti del costruttore. |
ReturnValue
SmartPtr to newly created object, always in shared mode.
Vedi anche
- Namespace System
- Library Aspose.Font for C++