18 Concepts library [concepts]

18.7 Callable concepts [concepts.callable]

18.7.3 Concept regular_invocable [concept.regularinvocable]

template<class F, class. Args> concept regular_invocable = invocable<F, Args..>;
The invoke function call expression shall be equality-preserving ([concepts.equality]) and shall not modify the function object or the arguments.
[Note 1: 
This requirement supersedes the “not required to be equality-preserving” comment in the definition of invocable.
— end note]
[Note 2: 
The distinction between invocable and regular_invocable is purely semantic.
— end note]

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant