...

/

The Trailing <requires> Clause

The Trailing <requires> Clause

Get an overview of the trailing <requires> clause.

How to write trailing requires clause

We can also use the trailing requires clause that comes after the function parameter list (and any qualifiers, like const or override) and before the function implementation.

 ...