For consideration in C++23, it needs to prove why an *additional* syntax

YES understand. Just now I can only argue functions need share syntax with coroutines because "Subroutines (functions) are special cases of coroutines", to empower us write generic code for them (like pointer generalized to iterator, function to functor, array to container, etc., many amazing STL abstractions).

--
soplwang

Thiago Macieira via Std-Discussion <std-discussion@lists.isocpp.org> 于2019年12月19日周四 上午2:22写道:
On Wednesday, 18 December 2019 09:29:59 PST Sopl'Wang via Std-Discussion
wrote:
> If we want protect C++ core value on template and generic programming, I
> suggest committee reconsider P1485R1 in c++20 or 23.

It's too late for C++20. For consideration in C++23, it needs to prove why an
*additional* syntax (not a replacement, since C++20 will be out) is beneficial
and will not unduly hurt teachability.

--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products



--
Std-Discussion mailing list
Std-Discussion@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/std-discussion