Hello, Is the following usage of auto proposed and evaluated:
void func(std::vector<auto> v);
Which will result in
template<class T>
void func(std::vector<T> v);
Thank You
It was valid in the Concepts TS, but it wasn't included in C++20 and hasn't been proposed.
I'm not sure about the syntax though, since auto everywhere else in C++ is introducing a variable. Here, it's not. array<T, auto> would make more sense, but isn't exactly in high demand.
Barry