System::MakeObject メソッド
System::MakeObject(Args&&…) method
ヒープ上にオブジェクトを作成し、その共有ポインタを返します。
template<class T,class ...> std::enable_if<!IsSmartPtr<T>::value, SmartPtr<T>>::type System::MakeObject(Args &&... args)
| パラメーター | 説明 |
|---|---|
| T | インスタンス化するクラス。 |
| 引数 | コンストラクタ引数の型。 |
| パラメーター | 型 | 説明 |
|---|---|---|
| args | Args&&… | コンストラクタ引数。 |
ReturnValue
SmartPtr to newly created object, always in shared mode.
参照
- Class SmartPtr
- Namespace System
- Library Aspose.Page for C++
System::MakeObject(Args&&…) method
ヒープ上にオブジェクトを作成し、その共有ポインタを返します。
template<class T,class ...> std::enable_if<IsSmartPtr<T>::value, T>::type System::MakeObject(Args &&... args)
| パラメーター | 説明 |
|---|---|
| T | インスタンス化するクラスへの SmartPtr。 |
| 引数 | コンストラクタ引数の型。 |
| パラメーター | 型 | 説明 |
|---|---|---|
| args | Args&&… | コンストラクタ引数。 |
ReturnValue
SmartPtr to newly created object, always in shared mode.
参照
- Namespace System
- Library Aspose.Page for C++