2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2017-02-01 12:29:27 +01:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2020-05-22 19:05:45 +02:00
|
|
|
#if __cplusplus >= 202002L
|
|
|
|
|
#define constexpr20 constexpr
|
|
|
|
|
#else
|
|
|
|
|
#define constexpr20 inline
|
|
|
|
|
#endif
|
|
|
|
|
|
2017-02-01 12:29:27 +01:00
|
|
|
using uint = unsigned int;
|
|
|
|
|
|
2017-09-25 16:41:17 +02:00
|
|
|
namespace Utils {
|
|
|
|
|
|
2017-08-29 12:54:10 +02:00
|
|
|
class SmallStringView;
|
2017-02-01 12:29:27 +01:00
|
|
|
template <uint Size>
|
|
|
|
|
class BasicSmallString;
|
|
|
|
|
using SmallString = BasicSmallString<31>;
|
|
|
|
|
using PathString = BasicSmallString<190>;
|
|
|
|
|
|
|
|
|
|
} // namespace Utils
|