jeudi 29 mars 2018

Confused with parameter pack declaration, C++

Can anyone please explain what the following declaration means?

template<typename... T> void f2(std::vector<T*>...);

Does this mean that f2 accepts number of std::vectors with different pointer types?

Aucun commentaire:

Enregistrer un commentaire