|
|
|||
File indexing completed on 2025-12-15 10:24:31
0001 // Copyright (C) 2024 The Qt Company Ltd. 0002 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only 0003 0004 #ifndef QTFORMAT_IMPL_H 0005 #define QTFORMAT_IMPL_H 0006 0007 #if 0 0008 #pragma qt_no_master_include 0009 #pragma qt_sync_skip_header_check 0010 #endif 0011 0012 #include <QtCore/qsystemdetection.h> 0013 #include <QtCore/qtconfigmacros.h> 0014 0015 // Users can disable std::format support in their 0016 // projects by using this definition. 0017 #if !defined(QT_NO_STD_FORMAT_SUPPORT) && defined(__cpp_lib_format) && __cpp_lib_format >= 202106L 0018 0019 #include <format> 0020 0021 // If this macro is defined, std::format support is actually available. 0022 // Use it to provide the implementation! 0023 // Note that any out-of-line helper function should not depend on this 0024 // definition, as it should be unconditionally available even in C++17 builds 0025 // to keep BC. 0026 #define QT_SUPPORTS_STD_FORMAT 1 0027 0028 #endif // __cpp_lib_format && !QT_NO_STD_FORMAT_SUPPORT 0029 0030 #endif // QTFORMAT_IMPL_H
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|