blob: a5e983503ab3534848f1fdae5536650f7c46cd1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
bool isOverThousand(int n)
{
//! [integer literal with separator]
if (n > 1'000)
return true;
//! [integer literal with separator]
return false;
}
|