cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
How do you use the ... operator
How do you use the ... operator
Aug 27, 2019 at 5:36pm UTC
highwayman
(582)
How do you do it? It super confusing to me
Last edited on
Aug 27, 2019 at 5:36pm UTC
Aug 27, 2019 at 5:58pm UTC
Albatross
(4553)
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 UTC
highwayman
(582)
Thanks! :)
Topic archived. No new replies allowed.