Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 2
    en.cppreference.com/w/cpp/utility/variadic Commented Feb 29, 2016 at 19:37
  • 1
    Another reference that describes this peculiarity. Look at the bottom of the page regarding printz(...). Commented Feb 29, 2016 at 19:38
  • 1
    I believe that this feature was added in C++ because of the operator nature of .... This allowed for more consistent syntax in the language with added features like parameter packs. Commented Feb 29, 2016 at 19:51
  • 2
    @callyalater This... "feature"... predates C++11. You can see the relevant rule still in N1905 Commented Feb 29, 2016 at 21:08
  • 3
    I am used to declaring variadic functions like this: I hope you don't do that on a regular basis. Writing such functions regularly crushes the type safety of your program and opens up huge oppertunities for programmer driven bugs. Commented Mar 1, 2016 at 9:26