How do you use the ... operator

Aug 27, 2019 at 5:36pm
How do you do it? It super confusing to me
Last edited on Aug 27, 2019 at 5:36pm
Aug 27, 2019 at 5:58pm
In what context? Function parameter lists? Template type parameter lists?

If it's the latter (and possibly the former too), here's a bit on variadic templates: https://kevinushey.github.io/blog/2016/01/27/introduction-to-c++-variadic-templates/

If it's the former (and not the latter), here's a bit on variadic functions: https://www.thegeekstuff.com/2017/05/c-variadic-functions/

Finally, if you're talking about ... as used in catch statements, that's just a catch-all for any exceptions not handled by an earlier catch block.

-Albatross
Aug 28, 2019 at 1:30am
Thanks! :)
Topic archived. No new replies allowed.