// Copyright (C) 2022 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only /*! \fn template const T &qMin(const T &a, const T &b) \relates Returns the minimum of \a a and \a b. Example: \snippet code/src_corelib_global_qglobal.cpp 13 \sa qMax(), qBound() */ /*! \fn template const T &qMax(const T &a, const T &b) \relates Returns the maximum of \a a and \a b. Example: \snippet code/src_corelib_global_qglobal.cpp 14 \sa qMin(), qBound() */ /*! \fn template const T &qBound(const T &min, const T &val, const T &max) \relates Returns \a val bounded by \a min and \a max. This is equivalent to qMax(\a min, qMin(\a val, \a max)). Example: \snippet code/src_corelib_global_qglobal.cpp 15 \sa qMin(), qMax() */