以下成员源于类 QScopedArrayPointer 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(deprecated (6.1))
void
|
swap (QScopedArrayPointer<T, Cleanup> & other ) |
This function is deprecated since 6.1. We strongly advise against using it in new code.
使用
std::unique_ptr
instead; this function may let a pointer escape its scope.
Swap this pointer with other .