Can the parameters of a c++ function be auto?

(1) It is possible to open the syntax specification of cpp20 in vs2019
Insert image description here
(2) But the Internet and Wen Xinyiyan and the book say it is not possible
Insert image description here
Insert image description here
(2) Attached is a very cool way of writing auto:
Insert image description here

Guess you like

Origin blog.csdn.net/zhangzhangkeji/article/details/132955713