System::MakeObject طريقة
محتويات
[
يخفي
]System::MakeObject(Args&&…) method
ينشئ كائنًا على الكومة ويعيد مؤشرًا مشتركًا إليه.
template<class T,class ...> std::enable_if<!IsSmartPtr<T>::value, SmartPtr<T>>::type System::MakeObject(Args &&... args)
| Parameter | الوصف |
|---|---|
| T | الفئة لإنشائها. |
| المعلمات | أنواع معلمات المُنشئ. |
| Parameter | Type | الوصف |
|---|---|---|
| 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)
| Parameter | الوصف |
|---|---|
| T | SmartPtr إلى الفئة لإنشائها. |
| المعلمات | أنواع معلمات المُنشئ. |
| Parameter | Type | الوصف |
|---|---|---|
| args | Args&&… | معلمات المُنشئ. |
ReturnValue
SmartPtr to newly created object, always in shared mode.
انظر أيضًا
- Namespace System
- Library Aspose.Page for C++