variadic template parameter pack expanding for function calls
Unfortunately, as you noticed, expanding a parameter pack is only valid in certain contexts where the parser expects a comma-separated list of entries – contexts where the comma is just a syntactic separator, not the comma operator. This is arguably a deficiency in the current text. An ugly workaround: func((some(p), 0)…); Do note that the … Read more