1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
4/*! \fn template <typename T> void qSwap(T &var1, T &var2)
8 Use \c std::swap instead.
10 Exchanges the values of variables \a var1 and \a var2.
13 \snippet code/doc_src_qalgorithms.cpp 0