<?xml version="1.0" encoding="UTF-8"?>
<db:article xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.2" xml:lang="en">
<db:info>
<db:title/>
<db:productname>Qt</db:productname>
<db:titleabbrev>Test for C++20 concepts and requires clauses</db:titleabbrev>
<db:abstract>
<db:para>A namespaced concept satisfied by sortable types.</db:para>
<db:para>This concept was introduced in Qt 1.0.</db:para>
</db:abstract>
</db:info>
<db:para>This concept was introduced in Qt 1.0.</db:para>
<db:anchor xml:id="details"/>
<db:para>Sortable lives inside the <db:code>traits</db:code> namespace, so QDoc records and renders its fully-qualified name.</db:para>
<db:section xml:id="definition">
<db:title>Definition</db:title>
<db:programlisting language="cpp">namespace traits {
template &lt;typename T&gt;
concept Sortable = detail::is_integral&lt;T&gt;::value;
}
</db:programlisting>
</db:section>
</db:article>
