Date: Wed, 02 Apr 2025 00:33:51 +0300
In the paragraph #3 of the section «7.5.5.1 Closure types» of the C++20 Standard there is written
«...The trailing requires-clause of the function call operator or operator template is the requires-clause of the lambda-declarator, if any.»
So can a non-generic lambda have a trailing requires clause? And if the text of the quote is correct why is not there an example of such a lambda?
With best regards,
(Vlad from Moscow)
You can meet me at http://cpp.forum24.ru/ or www.stackoverflow.com or http://ru.stackoverflow.com
«...The trailing requires-clause of the function call operator or operator template is the requires-clause of the lambda-declarator, if any.»
So can a non-generic lambda have a trailing requires clause? And if the text of the quote is correct why is not there an example of such a lambda?
With best regards,
(Vlad from Moscow)
You can meet me at http://cpp.forum24.ru/ or www.stackoverflow.com or http://ru.stackoverflow.com
Received on 2025-04-01 21:34:17