Obsolete Members for QScopedArrayPointer
QScopedArrayPointer クラスの以下のメンバーは非推奨となっています。これらは、古いソースコードが動作し続けるようにするために提供されています。新しいコードでの使用は強く推奨しません。
パブリック関数
(deprecated in 6.2) void | swap(QScopedArrayPointer<T, Cleanup> &other) |
メンバー関数のドキュメント
[noexcept, deprecated in 6.2] void QScopedArrayPointer::swap(QScopedArrayPointer<T, Cleanup> &other)
この関数はバージョン6.2以降、非推奨となっています。新しいコードでの使用は強く推奨しません。
代わりに `std::unique_ptr ` を使用してください。この関数では、ポインタがスコープ外へ漏れ出す可能性があります。
このポインタと `other` を入れ替えます。この操作は非常に高速で、失敗することはありません。
.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.