C++ auto用作函数参数
c++11中auto不能用作函数参数。
在gcc version 8.1.0 (x86_64-win32-seh-rev0, Built by MinGW-W64 project) --C++14中
可以运行,会警告:use of 'auto' in parameter declaration only available with -fconcepts
c++11中auto不能用作函数参数。
在gcc version 8.1.0 (x86_64-win32-seh-rev0, Built by MinGW-W64 project) --C++14中
可以运行,会警告:use of 'auto' in parameter declaration only available with -fconcepts