In this case, would `typename` be useful to introduce a typename? Does it conflicts with another syntax?

auto f(std::vector<typename>) -> void {


If we follow concept syntax, we could also use a concept name:

auto f(std::vector<std::integral>) -> void {


Em dom., 21 de mai. de 2023 09:52, Barry Revzin via Std-Proposals <> escreveu:

On Sun, May 21, 2023, 3:15 AM Михаил Найденов via Std-Proposals <> wrote:
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. 

Std-Proposals mailing list