Co robi 'void ()' in 'auto f (params) -> decltype (…, void ())?

Znalazłem kodtutaj to wyglądało mniej więcej tak:

auto f(T& t, size_t n) -> decltype(t.reserve(n), void()) { .. }

W całej dokumentacji, którą przeczytałem, powiedziano mi todecltype jest podpisany jako:

decltype( entity )

lub

decltype( expression )

I nigdzie nie ma drugiego argumentu. Przynajmniej na tym wskazujecppreference. Czy to drugi argumentdecltype? A jeśli tak, co to robi?

questionAnswers(1)

yourAnswerToTheQuestion