método System::MakeObject
Contenido
[
Ocultar
]System::MakeObject(Args&&…) method
Crea un objeto en el montón y devuelve un puntero compartido a él.
template<class T,class ...> std::enable_if<!IsSmartPtr<T>::value, SmartPtr<T>>::type System::MakeObject(Args &&... args)
| Parámetro | Descripción |
|---|---|
| T | Clase para instanciar. |
| Argumentos | Tipos de los argumentos del constructor. |
| Parámetro | Tipo | Descripción |
|---|---|---|
| args | Args&&… | Argumentos del constructor. |
ReturnValue
SmartPtr to newly created object, always in shared mode.
Ver también
- Class SmartPtr
- Namespace System
- Library Aspose.Page for C++
System::MakeObject(Args&&…) method
Crea un objeto en el montón y devuelve un puntero compartido a él.
template<class T,class ...> std::enable_if<IsSmartPtr<T>::value, T>::type System::MakeObject(Args &&... args)
| Parámetro | Descripción |
|---|---|
| T | SmartPtr a la clase para instanciar. |
| Argumentos | Tipos de los argumentos del constructor. |
| Parámetro | Tipo | Descripción |
|---|---|---|
| args | Args&&… | Argumentos del constructor. |
ReturnValue
SmartPtr to newly created object, always in shared mode.
Ver también
- Namespace System
- Library Aspose.Page for C++