2 ms·
The syntax: void hello(auto msg){ ... } Is legal today (since C++20 IIRC) and it is equivalent to your first example.
by gpderetta 4y ago
The syntax:
void hello(auto msg){
...
}
Is legal today (since C++20 IIRC) and it is equivalent to your first example.