1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
8 \brief The QtLiterals namespace declares literal operators for Qt types.
12 \namespace Qt::Literals
14 \inheaderfile QtLiterals
16 \brief The Literals inline namespace declares literal operators for Qt types.
20 \namespace Qt::Literals::StringLiterals
22 \inheaderfile QStringLiterals
24 \brief The StringLiterals namespace declares string literal operators
27 The inline Qt::Literals::StringLiterals namespace declares string literal
28 operators for Qt types. Because both \c Literals and \c StringLiterals
29 namespaces are declared as inline, the symbols from this namespace can be
30 accessed by adding one of the following to your code:
33 // Makes visible only the literal operators declared in StringLiterals
34 using namespace Qt::Literals::StringLiterals;
36 // Makes visible literal operators declared in all inline namespaces
38 using namespace Qt::Literals;
40 // Makes visible all symbols (including all literal operators) declared
41 // in the Qt namespace