<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
<!-- demo.qdoc -->
  <title>Demo | Qt 6.2.11</title>
</head>
<body>
<h1 class="title">Demo</h1>
<pre class="cpp" translate="no"><span class="comment">// Copyright (C) 2023 The Qt Company Ltd.</span>
<span class="comment">// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0</span>

<span class="type">bool</span> isOverThousand(<span class="type">int</span> n)
{
    <span class="keyword">if</span> (n <span class="operator">&gt;</span> <span class="number">1'000</span>)
        <span class="keyword">return</span> <span class="keyword">true</span>;
    <span class="keyword">return</span> <span class="keyword">false</span>;
}</pre>
